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
Something we have done in our cms, was adding lazyloading to tabs, which increased performance for all themes and plugins.
It would be kind of nice if that was rolled out to tabs in a web standardized form.
An example from our cms:
Let's say a user is on a using a 2G/GPRS network connection and the data is coming very slowly to their device:
First - The tab list loads
Second - You see a blue loading spinner for the tab content
Third - The tab content gets loaded.
Please note, when a user is using a fast internet connection all these sequences would take milliseconds.
Developers would just need to add an attribute to turn on Native lazy loading for the desired web component, with various options such as: lazy and eager see here: https://html.spec.whatwg.org/#lazy-loading-attributes
Discussion about removing the FOIT (Flash of Invisible Text) when a user loads a web page using a fragment url to one of the tabs directly: octobercms/october#5393
The text was updated successfully, but these errors were encountered:
summercms
changed the title
Lazyload certain web components like tabs etc.
Natively lazyload certain web components like tabs etc.
Dec 10, 2020
Something we have done in our cms, was adding
lazyloading
to tabs, which increased performance for all themes and plugins.It would be kind of nice if that was rolled out to tabs in a web standardized form.
An example from our cms:
Let's say a user is on a using a 2G/GPRS network connection and the data is coming very slowly to their device:
tab
list loadstab content
tab content
gets loaded.Please note, when a user is using a fast internet connection all these sequences would take milliseconds.
Developers would just need to add an attribute to turn on Native lazy loading for the desired web component, with various options such as:
lazy
andeager
see here: https://html.spec.whatwg.org/#lazy-loading-attributesAlso related to this comment: #3752 (comment)
Follows on from the discussion started here: openui/open-ui#238
CMS code pr for the lazyloading: octobercms/october#4658
Discussion about removing the FOIT (Flash of Invisible Text) when a user loads a web page using a fragment url to one of the tabs directly: octobercms/october#5393
The text was updated successfully, but these errors were encountered: