CodeIgniter Forums
How to optimise HTML even further ? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: General (https://forum.codeigniter.com/forumdisplay.php?fid=1)
+--- Forum: Lounge (https://forum.codeigniter.com/forumdisplay.php?fid=3)
+--- Thread: How to optimise HTML even further ? (/showthread.php?tid=66161)



How to optimise HTML even further ? - nitish.mittal - 09-14-2016

Is there anyway to optimise HTML even further for coupon boxes, and also when I am inspecting "GrabOn" in google pagespeed (developers.google.com/speed/pagespeed/insights/?url=...), it is saying "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."

So ideally, if I need to inline the critical portions in the HTML itself, it will increase page size. 
what are the possible ways to increase the performance of the page?


RE: How to optimise HTML even further ? - InsiteFX - 09-14-2016

3 Ways to Preload Images with CSS, JavaScript, or Ajax


RE: How to optimise HTML even further ? - spjonez - 09-14-2016

That message usually means you're loading resources in the head tag that should be loaded before the closing body tag. CSS includes should be in the header JS includes should be just before the closing body tag. This allows the browser to start drawing the page before scripts are ready.

This is still relevant: https://developer.yahoo.com/performance/rules.html


RE: How to optimise HTML even further ? - cool.amit0899 - 09-22-2016

i am also facing the same problem for my coupon site in google page speed


RE: How to optimise HTML even further ? - vicky8394 - 12-30-2017

Merely minifying the CSS is often not enough for page-speed insights. Page speed prefers CSS that involves content "Above the fold" (top 600px) to be internal (i.e. loaded in a tag). All the rest of the CSS should be deferred to load after the most important ATF content.


RE: How to optimise HTML even further ? - InsiteFX - 12-30-2017

You do know that this post is over 2 years old.