Async script and rocket loader

Cloudflare Rocket loader load javascript asynchronously. Async attribute in javascript tag does the same thing but it depend on browser.

If a script has async attribute and it also use rocket loader, can it create some kind of issue? or is it better to disable async attribute if we are using rocket loader for that particular script?

If a particular script causes problems with RocketLoad you can easily exclude it from anything RocketLoader does to it and make RocketLoader ignore it: https://support.cloudflare.com/hc/en-us/articles/200169436

Have a read there, its super easy :slight_smile:
Since I dont know the script, NOR how it does play together with other scripts, I can’t answer your question about if disabling “async” will affect it or not.

2 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.