mirror of
https://github.com/outline/outline.git
synced 2026-11-21 05:24:03 +03:00
* perf: Cache JS chunks on first use instead of precaching entire build The service worker precached every JS chunk (~590 files) in the background for every visitor. Chunks are content-hashed and immutable, so a CacheFirst runtime route provides the same repeat-visit behavior while only fetching chunks that are actually used. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * perf: Do not register service worker on public share views Anonymous share visitors gain nothing from the worker or the PWA cache, shares always require the API. The server now exposes an isShare flag in window.env and the client skips registration when it is set. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>