Title: HTML Lazyload
Last modified: March 8, 2023

---

# HTML Lazyload

 *  Resolved [ei](https://wordpress.org/support/users/kenanen/)
 * (@kenanen)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/html-lazyload/)
 * Does HTML Lazy Load Work?
 * i enter footer or **#**footer?
 * Thanks

Viewing 11 replies - 1 through 11 (of 11 total)

 *  [serpentdriver](https://wordpress.org/support/users/serpentdriver/)
 * (@serpentdriver)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/html-lazyload/#post-16540341)
 * There is no lazy load for HTML, but there is content-visibility:
 * [https://web.dev/content-visibility/](https://web.dev/content-visibility/)
    [https://developer.mozilla.org/en-US/docs/Web/CSS/content-visibility](https://developer.mozilla.org/en-US/docs/Web/CSS/content-visibility)
   [https://css-tricks.com/almanac/properties/c/content-visibility/](https://css-tricks.com/almanac/properties/c/content-visibility/)
 * FYI: content-visibility must be supported by your theme.
 *  Thread Starter [ei](https://wordpress.org/support/users/kenanen/)
 * (@kenanen)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/html-lazyload/#post-16540361)
 * [Page Optimization | Screen-by-Screen | LSCache for WordPress | LiteSpeed Documentation (litespeedtech.com)](https://docs.litespeedtech.com/lscache/lscwp/pageopt/#html-lazy-load-selectors)
 * I’m talking about this setting.
 * I’m not sure if it’s working or not.
 * #footer or footer?
 * We’ll understand better if someone authoritative answers.
 *  [serpentdriver](https://wordpress.org/support/users/serpentdriver/)
 * (@serpentdriver)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/html-lazyload/#post-16540392)
 * Again, there is no Lazy Load for HTML, neither native nor by the cache plugin
   nor by anything else. This means, that lazy load function in cache plugin works
   for images and iframes only.
 * If you want something similar to Lazy Load for HTML, you’ll have to rewrite your
   theme and use content-visibility. If you want to know more about content-visibility
   and what the advantage of it is, you have to read the linked text from my last
   post.
 *  Thread Starter [ei](https://wordpress.org/support/users/kenanen/)
 * (@kenanen)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/html-lazyload/#post-16540425)
 * I’m not a coder.
 * Does the “**HTML Lazy Load Selectors**” feature in the WordPress Litespeed Cache
   plugin work?
 * I just want to load the footer part late. Do I type **#footer** or **footer **
   or **.footer**?
 * Why did they put this feature?
 *  [matt-thomas-photography](https://wordpress.org/support/users/mattthomas-photography/)
 * (@mattthomas-photography)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/html-lazyload/#post-16540810)
 * > > **HTML Lazy Load Selectors –** lazy loads HTML (**#comments** and **#footer**
   > > are common). View this [FlyingPress documentation](https://docs.flying-press.com/article/170-lazy-render-elements)
   > > which has a video tutorial and is the same process for LiteSpeed Cache. View
   > > your site → right click any element you want to lazy load → inspect → right
   > > click highlighted code → copy → copy selector → paste it into this field.
 * Taken from this article [https://onlinemediamasters.com/litespeed-cache-settings/](https://onlinemediamasters.com/litespeed-cache-settings/)
 * Hope that helps
 *  Thread Starter [ei](https://wordpress.org/support/users/kenanen/)
 * (@kenanen)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/html-lazyload/#post-16540918)
 * I read it, but the “#” does not appear in the litespeed documentation.
    -  This reply was modified 3 years, 3 months ago by [ei](https://wordpress.org/support/users/kenanen/).
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/html-lazyload/#post-16541219)
 * please try put a class id/name on your footer to html lazyload list
 *  Thread Starter [ei](https://wordpress.org/support/users/kenanen/)
 * (@kenanen)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/html-lazyload/#post-16541242)
 * id=”footer” class=”footer”
 * Copy selector= #footer
 * Which way should I write in the HTML Lazyload section?
 *  [matt-thomas-photography](https://wordpress.org/support/users/mattthomas-photography/)
 * (@mattthomas-photography)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/html-lazyload/#post-16541705)
 * [https://stackoverflow.com/questions/602168/in-css-what-is-the-difference-between-and-when-declaring-a-set-of-styles](https://stackoverflow.com/questions/602168/in-css-what-is-the-difference-between-and-when-declaring-a-set-of-styles)
 * Use the # (which was also mentioned in the article linked above)
 *  [serpentdriver](https://wordpress.org/support/users/serpentdriver/)
 * (@serpentdriver)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/html-lazyload/#post-16543007)
 * [@kenanen](https://wordpress.org/support/users/kenanen/)
 * As I have tried to make you understand several times, while the cache plugin 
   offers a function for lazy load of HTML, this function does not work as you expect.
   The Lazy Load of HTML is not possible with conventional methods. This would require
   separate AJAX programming. Therefore, don’t expect that despite correct entries
   in the cache plugin settings, you will get the same as with lazy load for images.
   If you want to improve the loading behavior and thus the loading time, you need
   the content-visibility function, because so far it has only been possible to 
   influence the rendering of HTML code with this function.
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/html-lazyload/#post-16545492)
 * May I have the domain to have a quick look ?

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘HTML Lazyload’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 11 replies
 * 4 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/html-lazyload/#post-16545492)
 * Status: resolved