Website performance
Hi,
I have a single Homepage, with just one page, and Google Pagespeed is giving 49%.
Giving the problems google pointed out, here is my questions:
1 - How to exclude Javascript and CSS files from loading that I don't need?
2 - How to move Javascript files to the end of the document and not on header, as best practices?
3 - How to compress dynamic CSS and JS?
4 - How to prevent that with Retina, Browser Download both versions of the files?
Thank you.
Comments
as you can see at https://developers.google.com/speed/pagespeed/insights/?url=http://themes.muffingroup.com/betheme/&tab=desktop on our demo we got about 80/100 at this moment (it was 90% few days ago but it looks like google page speed tool changed something). However at first we recommend to install W3 Total Cache because this plugin speed website a lot. Below we`ll try to also answer on your questions:
1. This can be done only in files and if you want to do it, then you should have a look into functions/theme-head.php file.
2. This one is not possible as wordpress does not allow for that.
3. You can transform them to Static CSS. We explained it in documentation http://themes.muffingroup.com/betheme/documentation/#static-css
4. Can you explain what you mean?
What settings are you using, as this will help, our site speed is 61/100 red.
I must eliminate render-blocking JavaScript and CSS in above-the-fold content. Any suggestions ? How can I fix it?
And do you have suggestions (plug in, etc..) for optimize images?
Let me know
Thanks
F.
Let me know!
- After finished website, please open YOUR style.php and style-colors.php files in your web browser. On our demo the example links are as follow: http://themes.muffingroup.com/betheme/wp-content/themes/betheme/style.php and http://themes.muffingroup.com/betheme/wp-content/themes/betheme/style-colors.php and then get & copy whole content from both into style-static.css file on your FTP server.
get & copy whole content from both into style-static.cssMy site instead presents problems: Defer parsing of JavaScript, Optimize images, Specify image dimensions and a small part of: Serve scaled images , Combine images using CSS sprites.Il result attributed to my site, however, is: Page Speed Grade (53%), "E" and YSlow Grade (76%) "C".
http://gtmetrix.com/reports/www.rienzicomunica.com/GPsHUgGY
Greeting
I've solve the problem ot Image Optimization by Smushit yahoo's service http://www.smushit.com/ysmush.it/ .
3,4) you must purchase CDN service like MaxCDN
Thanks.