Skip to content

Add service worker caching for static assets #255

Description

@king-aj-the-first

Background: public/fallback-PPkJ6igsxJlxKyK41-Vd3.js suggests a service worker is partially configured. Static assets (fonts, icons, wallet SVGs) should be cached for offline support.

What "done" looks like:

  • Service worker caches static assets on install using a cache-first strategy
  • app/offline/page.tsx is served from cache when the user is offline
  • Cache is versioned — new deploys invalidate old caches

Key files: public/, app/offline/page.tsx, next.config.js

Constraints:

  • Do not cache API responses or contract calls in the service worker
  • Must work alongside Next.js's default caching — do not conflict

PR must include: Service worker config + offline test + cache version strategy explanation.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions