Support » Plugin: WP Rocket Footer JS » Not Respecting data-no-lazy=”1″ even with lazy load OFF

  • Resolved sesecrets

    (@sesecrets)


    I’m using your nice plugin on a few of my client’s sites. I’ve noticed that even if I have lazy loading turned off in WP-Rocket AND have included ‘data-no-lazy=”1″‘ in an image call on a background image, your script still sets the image call to “data-lazyload-bg”.

    If I deactivate your plugin the background image loads accordingly. If I turn lazyload ON in WP-Rocket, but keep the data-no-lazy=”1″ setting in the image call, it works perfectly. By that I mean, WP-Rocket doesn’t’ lazy load it and the image loads as it should.

    If I turn your plugin back on, clear cache and reload the page, the background image is immediately set to “data-lazyload-bg” and doesn’t load at all.

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Not Respecting data-no-lazy=”1″ even with lazy load OFF’ is closed to new replies.