Add data-cfasync=”false” tag to jQuery script
-
I use Cloudflare Rocket Loader to speed up Javascript on my site.
The problem is, it loads certain scripts that need jQuery before loading jQuery itself making them not working correctly.
As soon as it is possible to disable Rocket Loader for specific script adding
data-cfasync="false"
to the<script src="">
I would like to know how can I add it to jQuery scripts as WordPress doesn’t simply load the jQuery via the script tag I guess.At the moment my website loads jquery-migrate.min.js and jquery.js
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Add data-cfasync=”false” tag to jQuery script’ is closed to new replies.