Quantcast
Channel: WordPress.org Forums » [Autoptimize] Support
Viewing all articles
Browse latest Browse all 14038

superpoincare on "[Plugin: Autoptimize] [Suggest] CSS on the footer"

$
0
0

Hi Frank and Hans,

The requestAnimationFrame is actually good.

You can even move the script in the header. It loads the CSS async and doesn't block render.

The advantage is that it - if put in the head - it loads earlier than the present Autoptimize code. The current code first waits for page load and then sends a request to the server for the CSS file. RequestAnimationFrame loads it much earlier.

As far as I can see it will just involve a minor change in Autoptimize code to include it.


Viewing all articles
Browse latest Browse all 14038

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>