pascal_22 Posted October 16, 2013 Share Posted October 16, 2013 Hi everyone! In my google Adsense page... i have the performance of my website as optimization revenue, website health... In the website health, i have this message: Reduce the size of the above-the-fold content i read a bit, and i saw that i have to use asynchone code : like facebook like button, google+ button, adsense code..... so i have made the change for asynchrone code.. But what about my CSS and my JS? I use <script src="/js/libs/modernizr-2.5.3.min.js"></script> (because i'm using HTML5) and <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script> on ALL pages of my website. for Reduce the size of the above-the-fold content, what do you suggest to me for CSS and JS code? Thanks to all!!! have a great night! Link to comment https://forums.phpfreaks.com/topic/283033-reduce-the-size-of-the-above-the-fold-content/ Share on other sites More sharing options...
pascal_22 Posted October 17, 2013 Author Share Posted October 17, 2013 any suggestion? Link to comment https://forums.phpfreaks.com/topic/283033-reduce-the-size-of-the-above-the-fold-content/#findComment-1454278 Share on other sites More sharing options...
The Letter E Posted October 23, 2013 Share Posted October 23, 2013 Minify scripts and defer loading of js to the end of the page. http://www.devlifeline.com/2013/10/minified-css-and-deferred-js.html Link to comment https://forums.phpfreaks.com/topic/283033-reduce-the-size-of-the-above-the-fold-content/#findComment-1455136 Share on other sites More sharing options...
davidannis Posted October 23, 2013 Share Posted October 23, 2013 Goggle recommends that you put the parts of the css that the above the fold need inline. https://developers.google.com/speed/docs/insights/OptimizeCSSDelivery I disagree. Yes, your page may load faster for a new user, but it will load more slowly for a return visitor who has your css in cache and maintenance becomes more difficult because now you have information duplicated in all your files. Link to comment https://forums.phpfreaks.com/topic/283033-reduce-the-size-of-the-above-the-fold-content/#findComment-1455151 Share on other sites More sharing options...
.josh Posted October 24, 2013 Share Posted October 24, 2013 very first google search result for "Reduce the size of the above-the-fold content": https://developers.google.com/speed/docs/insights/PrioritizeVisibleContent Link to comment https://forums.phpfreaks.com/topic/283033-reduce-the-size-of-the-above-the-fold-content/#findComment-1455152 Share on other sites More sharing options...
pascal_22 Posted October 24, 2013 Author Share Posted October 24, 2013 Ok thanks!!! I ll read you suggested post! Thanks a lot! PAscal Link to comment https://forums.phpfreaks.com/topic/283033-reduce-the-size-of-the-above-the-fold-content/#findComment-1455210 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.