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

AJ @ WpFASTER.org on "[Plugin: Autoptimize] Defer CSS + Cloudflare Rocket Loader"

$
0
0

Hi natostanco,

CloudFlare is great; but Rocket Loader... not so much.

Rocket Loader only 'works' in select browsers; is not recognized by Google Bot; will (almost always) degrade page-to-page navigation/transition load times (since the browser is unable to cache RocketScript .JS); is still in BETA (will work one day, not the next); and is, at least for dynamic WordPress sites, a 'hammer' instead of 'scalpel' -- it's pretty much all-or-nothing, on or off, unless you know PHP backwards and forwards.

Ideally, you'll want to make use of Frank's plugin to defer/asynchronously load your JavaScript. Then, of course, deferred CSS will load properly. (Not to mention all of the other benefits of utilizing 'universally' recognized HTML 5 script attributes).

Best,
AJ


Viewing all articles
Browse latest Browse all 14038

Trending Articles



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