Title: Lazy load HTML elements?
Last modified: December 12, 2022

---

# Lazy load HTML elements?

 *  Resolved [snipsnip](https://wordpress.org/support/users/snipsnip/)
 * (@snipsnip)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/lazy-load-html-elements/)
 * Hello, could you expand the core functionality of the plugin with lazy loading
   HTML elements.
    I am currently doing something similar, manually, with content-
   visibility CSS property for the supported browsers. It helps a lot reducing the
   DOM size of the page and improving the loading time, especially for longer pages.

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

 *  Plugin Author [Albert Peschar](https://wordpress.org/support/users/kiboit/)
 * (@kiboit)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/lazy-load-html-elements/#post-16281106)
 * Hi [@snipsnip](https://wordpress.org/support/users/snipsnip/),
 * Do you move some content to AJAX requests, or do I misunderstand?
 * –Albert
 *  Thread Starter [snipsnip](https://wordpress.org/support/users/snipsnip/)
 * (@snipsnip)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/lazy-load-html-elements/#post-16282268)
 * I am not sure if it uses ajax. I set the elements to auto and they are loaded
   only when I scroll to them. For example, the footer or the related products in
   the single product page. There are many more elements that I have set to content-
   visibility: auto. Probably I can optimize even more but would be great if there
   was a plugin for that to make it automatic – to lazy load whole divs. Also, it
   doesn’t work in firefox/firefox mobile or safari – it is not supported.
    -  This reply was modified 3 years, 5 months ago by [snipsnip](https://wordpress.org/support/users/snipsnip/).
 *  Plugin Author [Albert Peschar](https://wordpress.org/support/users/kiboit/)
 * (@kiboit)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/lazy-load-html-elements/#post-16284253)
 * Hi [@snipsnip](https://wordpress.org/support/users/snipsnip/),
 * I see. So this is delaying the rendering of those elements.
 * [https://css-tricks.com/almanac/properties/c/content-visibility/](https://css-tricks.com/almanac/properties/c/content-visibility/)
 * It’s an interesting feature but I don’t currently have any plans to add this 
   to PhastPress.
 * –Albert

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

The topic ‘Lazy load HTML elements?’ is closed to new replies.

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

 * 3 replies
 * 2 participants
 * Last reply from: [Albert Peschar](https://wordpress.org/support/users/kiboit/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/lazy-load-html-elements/#post-16284253)
 * Status: resolved