Glean
New Tab Page Performance Optimization
What this trail covers
Glean's New Tab Page is optimized for instant loading by leveraging Service Workers with Workbox for offline caching of code and resources, and redux-persist with relaxed durability to cache user preferences locally in IndexedDB. A novel technique inspired by Server Side Rendering is employed: the client-rendered DOM's HTML is snapshotted and persisted to the Service Worker, allowing for immediate display with no JavaScript required for the initial render.
All Glean trails