WordPress.org

Ready to get started?Download WordPress

Forums

Image Lazy Load (Unveil.js)
Cloudflare RocketLoader delays plugin job (1 post)

  1. Alergic
    Member
    Posted 1 month ago #

    Hi !

    Image lazy load works really great, thank you for a great plugin. But it's Rocket Loader that gives me headaches, it delays the script to do his job.

    How can I have Rocket Loader ignore my script(s) in Automatic Mode?

    You can have Rocket Loader ignore individual scripts by adding the
    data-cfasync="false" attribute to the relevant script tag, for example:

    <script data-cfasync="false" src="/javascript.js"></script>

    Rocket Loader will still work for all other scripts.

    My question is which would be the relevant script tag
    Using the method below, I added both .js file names from this plugin to functions.php, one gives white screen, other is blocking loading of the image.
    http://wp-dreams.com/articles/2014/03/cloudflare-rocket-loader-for-wordpress/

    https://wordpress.org/plugins/image-lazy-load/

Reply

You must log in to post.

About this Plugin

About this Topic