Skip to content

Create Service Worker #308

@LukePrior

Description

@LukePrior

Will allow site to load quicker and work offline with stored data when installed as a PWA.

Caching Strategy:

  • Map tiles (keep for 30 days)
  • historical NBN info (keep indefinitely)
  • main/current NBN info (fetch every time or maybe keep for a few hrs max)
  • JavaScript files and others (30 days?)

https://stackoverflow.com/questions/46036897/best-practices-for-detecting-offline-state-in-a-service-worker
https://developer.chrome.com/docs/workbox/caching-strategies-overview/

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions