Skip to content
This repository was archived by the owner on Jul 19, 2023. It is now read-only.
This repository was archived by the owner on Jul 19, 2023. It is now read-only.

Service worker doesn't always update in background #109

@leonardr

Description

@leonardr

I'm not going to do a great job of summarizing this issue, but here we go.

There are situations where the service worker tries to fetch a new version of a resource, but it isn't able to. In this situation it just stops trying to fetch the new version, even if the browser user does a hard refresh. This leads to old content being displayed even though HTTP requests are apparently going out and coming back with 200 response codes.

A simple solution is to stop using service workers and fall back to application cache. This will eventually stop working, but it should be okay in the short term.

A proper solution depends on figuring out when the service worker gives up on its background request.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
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