Skip to content

Invalidate cache by service worker #3665

Closed
@James2516

Description

@James2516

developers (and users) will only see deployed updates on the "N+1" visit to a page, since previously cached resources are updated in the background.

Supposed you have an important update, is there a way to invalidate the cache so that users will see the update on next visit instead of the next + 1 visit?

Is it technically possible to force an automatic browser refresh if the service worker detected that resources are updated, instead of waiting until the next visit to display them?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions