• Resolved Tim Reeves

    (@tim-reeves)


    I’ve seen this in browser console on quite a few sites already:

    The resource https://example.com/wp-content/plugins/w3-total-cache/pub/js/lazyload.min.js was preloaded using link preload but not used within a few seconds from the window’s load event. Please make sure it has an appropriate as value and it is preloaded intentionally.

    But in the settings, lazy loading by W3TC is not selected. In general I’ve had some problems with WP’s lazy loading, and for a lot of the websites I manage, which have few images, it’s just not worth the hassle – whoever wants to be doing it.

    But in this case it’s obviously W3TC, as this is the code generated, right at the start of the head area:

    <style>img.lazy{min-height:1px}</style>
    <link rel=preload href=https://example.com/wp-content/plugins/w3-total-cache/pub/js/lazyload.min.js as=script>

    For a plugin that’s trying to speed up web page delivery, it seems a bit ironic that it’s generating a preloading which is then not used… Would be grateful if this could be cleared up.

    Apart from that, I’m a great fan of W3TC – thanks for a wonderful plugin!

    Tim

Viewing 1 replies (of 1 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @tim-reeves

    Thank you for reaching out and for taking the time to report this.
    I’ve tried to replicate this and once LazyLoading is disabled, /w3-total-cache/pub/js/lazyload.min.js should not load, and does not load in my case.
    There is a possibility that once the setting was disabled, the cache was not purged.
    Can you please share the URL of the website you are experiencing the issue on so I can check this?
    Thank you!

Viewing 1 replies (of 1 total)
  • The topic ‘lazyload.min.js deselected but always loaded’ is closed to new replies.