You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current state of asynchronous rendering only applies to sections that depend on loaders or actions exceeding a specific time threshold. While this is beneficial, there are some drawbacks:
Sections that render larger HTML can increase render duration and Time to First Byte (TTFB).
Users lack the flexibility to choose which sections dependent on loaders or actions should render synchronously with the page.
Proposal
To address these issues, we propose an Async Render Default approach, which involves the following steps:
Default Asynchronous Rendering: By default, defer the rendering of all sections via the deco.cx admin. This ensures optimized performance across the board.
Opt-out Option: Users can choose to opt-out of this default behavior by disabling the optimization property on individual section forms within the page.
Optimized sections will be wrapped in a mechanism that renders a fallback initially and then fetches the full section content when the page loads in the browser. This approach aims to enhance overall page performance and user experience by leveraging efficient caching and load times.
The text was updated successfully, but these errors were encountered:
Description
The current state of asynchronous rendering only applies to sections that depend on loaders or actions exceeding a specific time threshold. While this is beneficial, there are some drawbacks:
Sections that render larger HTML can increase render duration and Time to First Byte (TTFB).
Users lack the flexibility to choose which sections dependent on loaders or actions should render synchronously with the page.
Proposal
To address these issues, we propose an Async Render Default approach, which involves the following steps:
Optimized sections will be wrapped in a mechanism that renders a fallback initially and then fetches the full section content when the page loads in the browser. This approach aims to enhance overall page performance and user experience by leveraging efficient caching and load times.
The text was updated successfully, but these errors were encountered: