• I am using the popular Cloudflares Rocket Loader to speed up my site.

    It bundles, async loads, and caches all website JavaScript to give you a much faster page speed.

    It usually works fine but when activated it breaks your plugin – the thumbnails slider stops working and the zoom window is replaced by huge full size images.

    It is easily fixed if you add data-cfasync="false" to the script tag like this <script data-cfasync="false" src="/javascript.js"></script>.

    Can you please add this small change and update the plugin?

    I’m sure many people will appreciate the Cloudflare compatibility, and it will also reduce the amount of support tickets you get.

    Notes:

    1. Adding this attribute within JS will not work to exclude the script from Rocket Loader.
    2. The ‘data-cfasync’ attribute must be added before the ‘src’ attribute.
    3. Rocket loader will recognize the tag when either single or double quotes are placed around the attribute value.

    More info: https://support.cloudflare.com/hc/en-us/articles/200169436-How-can-I-have-Rocket-Loader-ignore-my-script-s-in-Automatic-Mode-

    • This topic was modified 7 years, 11 months ago by bruceleebee.
  • The topic ‘Please add Cloudflare Rocket Loader exception’ is closed to new replies.