Skip to content

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

Closed
@mgechev

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.

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