Glean
Glean logoGlean · Feature trail

New Tab Page Performance Optimization

1 post · Aug 2026

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