Support » Plugin: W3 Total Cache » Exclude Page from Lazy Load

  • Resolved Nat Miletic

    (@nmiletic)


    Hi,

    Is it possible to exclude an entire page from lazy load?
    https://cliowebsites.com/blog/

    The load more option on this page doesn’t load the post images due to lazy loading options. When I disable lazy load it works just fine.

    Thanks

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Marko Vasiljevic

    (@vmarko)

    Hello @nmiletic

    You cannot exclude a whole page for the lazy-load function.
    You can exclude the class or the specific image by adding the class or the full image URL to the Performance>User Experience>Exclude words. Of course, make sure to save all settings and purge the cache once done.
    You can also try to change the Script Embed method: in Perfomrance>User Experience to Sync(to head), save all settings and purge the cache and see if the issue persists.
    Thanks!

    Thread Starter Nat Miletic

    (@nmiletic)

    Thanks for the reply Marko

    I added the class ‘ee-grid’ to the exclude words box but it’s not working. I have cleared my cache as well.

    Am I not applying it properly? I am adding ee-grid to the end of the text box (exclude words)

    Can’t find any clear instructions regarding how this works

    Plugin Support Marko Vasiljevic

    (@vmarko)

    Hello @nmiletic

    Thank you for the information.
    As I can see all of those images have ee-post__media__thumbnail ee-media__thumbnail class so you should try adding
    ee-post__media__thumbnail
    to exclude words in Performance>User Experience, or as I’ve mentioned before simply add the image URL:
    https://cliowebsites.com/wp-content/uploads/2020/12/ecommerce-websites-clio-websites-header-768x358.jpg
    Thanks!

    Thread Starter Nat Miletic

    (@nmiletic)

    Hi Marko,

    Adding the class names doesn’t work for some reason.

    Adding each image url does work but it’s not ideal since there are quite a few images that I would have to add manually.

    Are there any other options? I tried removing the lazy loading property on this page using JavaScript but that just broke the images from loading entirely.

    I would suggest adding disabling lazy loading on particular pages as a new feature in the future.

    Thanks,

    Nat

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Exclude Page from Lazy Load’ is closed to new replies.