Hi Team,
We tested our site at https://developers.google.com/speed/pagespeed/insights/ and we are receiving the following suggestions:
1) Should Fix:
Eliminate render-blocking JavaScript and CSS in above-the-fold content
Your page has 3 blocking CSS resources. This causes a delay in rendering your page.
None of the above-the-fold content on your page could be rendered without waiting for the following resources to load. Try to defer or asynchronously load blocking resources, or inline the critical portions of those resources directly in the HTML.
Optimize CSS Delivery of the following:
We saw an old topic – http://support.themeburn.com/topic/performance-issue-remove-render-blocking-javascript-optimize-css, and we tried moving a part of the css from header.tpl file to footer.tpl, but we get an error.
2) Consider Fixing:
Leverage browser caching
Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk rather than over the network.
Leverage browser caching for the following cacheable resources:
http://connect.facebook.net/en_US/all.js (20 minutes)
We’ve made some modifications in our .htaccess file, but we are not sure how to optimize the part with “all.js”.
Can you give us an advise on this matter?
BR,
Stefan Pavlov
-
This reply was modified 2601 days ago by Kanisco.
|
|
Hi Stefan,
Unfortunately none of the two failing points can be bypassed:
1) Maybe we could think of an automated “above the fold” solution to reduce the initial CSS load, but not at the moment – it’s just not that easy.
2) Cannot control external resources.
BR,
ThemeBurn team
|
|
Hi
Thanks for the fast replay! Where can we find the Head.tpl so that we can comment the http://connect.facebook.net/en_US/all.js to see whats going to happen, because of what we understand we wont need this.
BR,
Stefan Pavlov
|
|
Hi Stefan,
Facebook API can be disabled from Theme Settings > Social > Facebook.
BR,
ThemeBurn team
|
|
Hi Team,
Thank you for the advice.
BR,
Stefan Pavlov
|
|
Hope we’ve helped.
BR,
ThemeBurn team
|
|