Skip to content

ServiceWorker keeps serving the old cached version #4304

Closed
@ggregoire

Description

@ggregoire

Is this a bug report?

Yes

Environment

  1. Operating system: macOS
  2. Browser and version: Chrome 65

Steps to Reproduce

  1. deploy new build (S3 + CloudFront)
  2. open the app, the old version is served (expected behavior)
  3. normal refresh (n+1), still the old version. Refresh 15 times, still the old version
  4. hard refresh (cmd shift R), the new version is served
  5. normal refresh, the old version is served again
  6. hard refresh, the new version is served
  7. normal refresh, the old version is served again…

Expected Behavior

Serve the new version at n+1 with a normal refresh.

I unregistered the SW for now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions