Skip to content

Precache UI shell for offline/instant load #62

Description

@CaptainCalliope

I use margin.at as my new-tab page. Right now it hits the network on every load which makes the browser feel slow given how Ctrl+T trigger happy I am.

Could you make the the static shell (JS/CSS/fonts) precached via a service worker (e.g. @vite-pwa/astro) so the UI paints instantly from cache, with data calls (session, annotations) staying NetworkFirst so they don't go stale.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions