perf(assets): request module files only near the viewport (1.11.0) #7
Loading…
Reference in a new issue
No description provided.
Delete branch "perf/load-near-viewport"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
An inline loader after the module markup adds the stylesheets and scripts when the module comes within 1.5 screens of the viewport, once per page; scripts keep their order; the noscript stylesheet fallback stays. Verified on Excelia staging: no module request with the page, all four files on scroll, carousel styled and sliding, no console errors. PageSpeed mobile 96 / 77 (loaded test machine) / 97 against 94 before.
https://claude.ai/code/session_01HRvkv5pd9HNM1LLPN1gETc