Skip to content

Don't cache ngsw-config.json in firebase hosting #2259

Closed

Description

@mgechev

Version info

Angular:

latest

Firebase:

latest

AngularFire:

latest

Other (e.g. Ionic/Cordova, Node, browser, operating system):

How to reproduce these conditions

For any project run:

ng add @angular/fire

If the app is a PWA it'll have ngsw-config.json, which firebase will cache for an hour.

Expected behavior

Add the file to the cache ignore list.

Thanks to @abraham for mentioning this today on the Modern Web meetup.

Activity

  1. jamesdaniels commented on Sep 16, 2021

    @jamesdaniels
    Contributor

    Addressed in the upcoming AngularFire 7.1 release

  2. added a commit that references this issue on Sep 16, 2021
    dd414b2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: choreMaintenance with no user-facing behavior change.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions