{"id":39771,"date":"2026-09-14T10:35:06","date_gmt":"2026-09-14T08:35:06","guid":{"rendered":"https:\/\/mainetcare.de\/?post_type=glossar&#038;p=39771"},"modified":"2026-09-14T10:40:16","modified_gmt":"2026-09-14T08:40:16","slug":"alr-automatic-lazy-rendering","status":"publish","type":"glossar","link":"https:\/\/mainetcare.de\/en\/glossar\/alr-automatic-lazy-rendering\/","title":{"rendered":"ALR \u2013 Automatic Lazy Rendering"},"content":{"rendered":"<p dir=\"ltr\"><strong>Automatic Lazy Rendering (ALR)<\/strong><\/p>\n<p dir=\"ltr\">This is a feature in the WP Rocket caching plugin that prevents the browser from rendering parts of a page that are not visible when the page is first loaded (below the fold) until the visitor scrolls down to those areas. The goal is to improve page speed.<\/p>\n<p dir=\"ltr\">Technically, WP Rocket uses the CSS property \u201c<code>content-visibility: auto<\/code>\u201d on the affected sections, identified by the attribute \u201c<code>data-wpr-lazyrender=\"1\"<\/code>\u201c, if you look at the source code.<\/p>\n<p dir=\"ltr\">When the page first loads, the browser skips calculating the layout and rendering for the invisible portion of the page. This improves metrics such as \u201cTotal Blocking Time\u201d and \u201cInteraction to Next Paint.\u201d.<\/p>\n<p dir=\"ltr\">This feature is enabled by default and does not have a toggle in the settings.<\/p>\n<p dir=\"ltr\">Side effect: Because sections that haven't been rendered yet only have an estimated height, jump marks such as <strong>Anchor Links<\/strong> end up in the wrong place and cause scroll animations to get out of sync. This can be remedied by using exceptions via filters or by disabling the feature via code.<\/p>\n<p><code><br \/>\nadd_filter( 'rocket_lrc_optimization', '__return_false', 999 );<br \/>\n<\/code><\/p>","protected":false},"featured_media":0,"template":"","meta":{"_acf_changed":false},"class_list":["post-39771","glossar","type-glossar","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/mainetcare.de\/en\/wp-json\/wp\/v2\/glossar\/39771","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mainetcare.de\/en\/wp-json\/wp\/v2\/glossar"}],"about":[{"href":"https:\/\/mainetcare.de\/en\/wp-json\/wp\/v2\/types\/glossar"}],"wp:attachment":[{"href":"https:\/\/mainetcare.de\/en\/wp-json\/wp\/v2\/media?parent=39771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}