Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • funkwhale funkwhale
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 396
    • Issues 396
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • funkwhale
  • funkwhalefunkwhale
  • Merge requests
  • !991

Cache API/media files with service workers

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Agate requested to merge service-worker-cache-api into develop Jan 08, 2020
  • Overview 3
  • Commits 1
  • Pipelines 2
  • Changes 3

cc @Sporiff

With this change, all /api/v1 (excluding tracks) and /media/ requests are cacheds, for a week, meaning you can use the app in offline mode, assuming you're accessing content already in cache.

Edited Jan 09, 2020 by Agate
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: service-worker-cache-api