1. Home
  2. Blog
  3. Performance

Skip Rendering Below-Fold Blocks Until Needed With Lightify

Performance

October 12, 2026

Your homepage can look fine in the browser while still making the main thread do a lot of work before the first paint. Below-fold sections, long page builders, and heavy widgets often get built into the DOM even when the visitor has not scrolled an inch. Images can be lazy-loaded. Scripts can be deferred or delayed. The blocks themselves still cost parsing and layout work up front.

WordPress lazy render below the fold is Lightify’s answer to that cost. Lazy Render Elements (Pro) skips rendering blocks and elements until they are needed, which reduces the work the browser does on first paint. This guide covers when to enable it, how to tune the filters, what breaks (usually in-page anchors), and how it fits next to image lazy loading and unused CSS removal.

What is Lazy Render Elements?

Under Lightify > Settings > Asset Optimizations, in the HTML optimizations group, you will find:

  • Minify HTML (free): strips whitespace and comments, and minifies inline CSS and JavaScript along with it. Low risk.
  • Prevent Layout Shifts (free): keeps the page hidden until it is fully parsed, then reveals it at once. Trades LCP for CLS.
  • Lazy Render Elements (Pro): skips rendering blocks and elements until they are needed, reducing the work the browser does on first paint.

Default for Lazy Render Elements is off. The docs call out the main risk clearly: test anchor links and long pages. An element that has not rendered cannot be scrolled to, and in-page navigation is the usual casualty.

Tune it with three filters:

FilterDefaultControls
lightify_lazy_render_skip_count3Elements at the top left rendered normally
lightify_lazy_render_limit30Maximum elements lazy rendered per page
lightify_lazy_render_exclude_keywordsarrayElements never lazy rendered

There is also lightify_lazy_render_intrinsic_height for the placeholder height reserved for an element. Raise the skip count if content below the fold on a short page flickers in.

Lightify ships these asset tools as part of the DaftPlug membership. Compare activations on pricing.

How is lazy render different from lazy-loading images?

People mix these up because both say “lazy.” They are not the same job.

TechniqueWhat it delaysTypical Lightify home
Lazy-load images / videos / iframesMedia downloads and decodeMedia Optimizations (lazy-load images free; videos and iframes free)
Preload critical imagesNothing. It prioritizes the heroMedia Optimizations (Pro)
Lazy Render ElementsRendering of blocks and elements themselvesAsset Optimizations (Pro)
Delay JavaScript ExecutionScript execution until interactionAsset Optimizations (Pro)

Lazy-loading an image still leaves the surrounding section, its CSS, and its nested markup in play. Lazy render targets the elements so the browser does less work before first paint. You usually want both: lazy media for bytes, lazy render for below-fold structure, and preload for the LCP image so the hero is not delayed.

For image-focused setup, use the related post on lazy loading images and preloading the hero for LCP.

When should I turn Lazy Render on?

Enable it when:

  1. Pages are long (landing pages, documentation-style posts, WooCommerce long descriptions, page-builder homepages).
  2. First paint or Total Blocking Time looks heavy even after minification and unused CSS work.
  3. Below-fold sections include carousels, tab sets, or large HTML blocks the visitor may never reach.
  4. You can test in-page anchors after enabling it.

Skip or postpone it when:

  1. The site is mostly short posts with little below the fold.
  2. Navigation depends heavily on #section links inside the same page (docs, FAQ pages, one-page sites).
  3. You have not finished safer wins yet: minify CSS/JS (on by default), page cache, and Remove Unused CSS if you have Pro.

Lightify’s Asset Optimizations tab is the one most likely to make a large difference and most likely to break something. Enable settings one at a time, purge, and test. Lazy Render is no exception.

How do I enable and verify it?

Step 1: Baseline

Before changing anything, measure a key template (home, a long post, a product page) with the same tool you always use. Note LCP, CLS, and how interactive the page feels on a mid-range phone. Lightify also reports performance score and Core Web Vitals on free, so you have an in-dashboard signal after changes.

Step 2: Enable Lazy Render Elements

Go to Lightify > Settings > Asset Optimizations, turn Lazy Render Elements on, save, and purge everything. Cached pages were built with the old settings.

Step 3: Smoke-test the front end

Check:

  • Above-the-fold content still appears immediately.
  • Scrolling down reveals sections without obvious empty holes that never fill.
  • Sticky headers, menus, and modals still work.
  • In-page links (#faq, #pricing, #specs) still land correctly.

If an anchor fails, that section was probably lazy rendered and not available when the browser tried to scroll to it. That is the documented failure mode.

Step 4: Tune with filters

Add a small must-use plugin or theme functions.php snippet only after you know what broke.

Raise skip count if the first below-fold block flickers on shorter pages:

add_filter( 'lightify_lazy_render_skip_count', function () {
    return 6;
} );

Default is 3 elements at the top left rendered normally. Raising it keeps more of the upper page fully rendered.

Lower the limit if too much of the page is being deferred on huge builders:

add_filter( 'lightify_lazy_render_limit', function () {
    return 15;
} );

Default maximum is 30 elements lazy rendered per page.

Exclude keywords for elements that must never be lazy rendered (anchors, critical widgets, cookie bars that theme code expects immediately):

add_filter( 'lightify_lazy_render_exclude_keywords', function ( $keywords ) {
    $keywords[] = 'faq';
    $keywords[] = 'sticky-cta';
    return $keywords;
} );

Exclude rather than disable when one component misbehaves. Losing one element from an optimization is much better than losing the optimization.

How does this sit next to other HTML and CSS settings?

Minify HTML

Low risk. The rare exception is a theme relying on whitespace inside <pre> blocks or on HTML comments as markers. You can leave this on while testing lazy render.

Prevent Layout Shifts

Keeps the page hidden until it is fully parsed, then reveals it at once. Removes the flash of unstyled content and the layout shifts it causes. It trades LCP for CLS: nothing is visible until the page is ready, so the largest paint happens later, but it happens in its final position. Try it and compare separately from lazy render. Stacking both without measuring makes it hard to know which change helped.

Remove Unused CSS (Pro)

Usually the largest single improvement available, because most themes ship one stylesheet covering every page and every state. It loads only the CSS the initial view actually uses, and defers the rest until the visitor interacts. CSS Inclusions is your repair tool when something hidden until click (menus, modals, accordions) loses styles.

Lazy render and unused CSS attack different costs. Unused CSS shrinks style work. Lazy render reduces how much markup and layout happens up front. On a heavy theme, Pro sites often want both, enabled one at a time.

Free vs Pro around this feature

From Lightify’s Free and Pro docs:

Asset areaFreePro
Minify HTML / CSS / JSYesYes
Defer JavaScriptYesYes
Prevent layout shiftsYesYes
Preload fontsYesYes
Lazy render elementsNoYes
Remove unused CSSNoYes
Delay JavaScript executionNoYes
Self-host external CSS / JS / fontsNoYes
Use system fonts firstNoYes

The free version is a complete caching plugin: page cache, browser cache, minification, deferred JavaScript, lazy loading, font preloading, link prefetching, WordPress cleanup, and Core Web Vitals monitoring. Pro adds the optimizations that require more machinery: rewriting CSS per page, delaying execution until interaction, converting images, and cleaning the database on a schedule. Lazy Render Elements is one of those Pro asset tools.

If you are deciding whether a license is worth it for performance rather than for the membership, the docs highlight Remove Unused CSS, Delay JavaScript Execution, Auto Image Optimization, and Preload Critical Images as the ones that move the number most. Lazy render is still useful on long pages even if unused CSS is the headline upgrade.

Troubleshooting checklist

When something breaks after enabling Lazy Render:

  1. Purge everything. Cached pages were built with the old settings.
  2. Identify the feature. Turn off the last one you enabled and purge again.
  3. Exclude, do not disable. Add the specific keyword or raise skip count so the broken block renders normally.
  4. Retest anchors on long pages. Docs and one-pagers are the usual casualties.
  5. Check short pages for flicker. Raise lightify_lazy_render_skip_count if below-fold content on a short page flickers in.

For finer control than the settings screen offers, every exclusion list has a matching filter. See Lightify’s asset filters in the hooks reference.

Practical patterns by site type

Brochure homepage with a long builder page. Enable lazy render after unused CSS. Exclude the sticky header and any #contact section you link from the menu.

Blog with short posts. You may not need lazy render. Prefer image lazy load, preload the featured image when it is LCP, and minify.

Documentation or FAQ with jump links. Be cautious. Either exclude the FAQ container keywords or leave lazy render off for that template until you have exclusions dialed in.

WooCommerce product pages. Long description tabs and related products sections are candidates. Keep the price, add-to-cart, and gallery fully rendered (raise skip count or exclude those wrappers).

FAQ: Will lazy render hurt SEO?

Search engines render pages with capable crawlers. The goal of lazy render is to defer work until elements are needed for the visitor, not to hide content permanently. Keep important copy in the HTML for the page, avoid stuffing unique content only into interaction-gated experiences you never reveal, and make sure excluded or above-fold content still includes your primary message. Pair with solid titles, meta, and (if you use Rankify) schema that match the visible page. Lazy render is a performance tool, not a cloaking tool.

FAQ: Should I enable Delay JavaScript at the same time?

Delay JavaScript Execution (Pro) holds scripts entirely until the visitor moves, scrolls, or taps. It is the right tool for third-party tags: analytics, chat widgets, ad scripts, and heatmaps. Never delay a script that renders visible content. A delayed slider is an empty space until someone happens to move the mouse.

You can use delay and lazy render together, but enable them separately. If a section fails to appear, you need to know whether the element was not rendered yet or its script was delayed.

FAQ: Does Prevent Layout Shifts replace lazy render?

No. Prevent Layout Shifts hides the page until parse completes to avoid FOUC and shift. Lazy render reduces how much is rendered before it is needed. They can interact with perceived LCP differently. Measure each change alone.

A sane rollout order

  1. Confirm page cache and minification are healthy.
  2. Lazy-load images and preload the true LCP image.
  3. If Pro: Remove Unused CSS, with inclusions for menus and modals.
  4. Enable Lazy Render Elements, purge, test anchors.
  5. Tune skip count, limit, and exclude keywords.
  6. Only then consider Delay JavaScript for third-party tags.

Below-fold HTML that nobody has scrolled to should not dominate first paint. Lazy Render Elements is the Lightify Pro switch for that. Use it on long pages, respect anchors, and exclude the few blocks that must always exist immediately.