Skip to content
This repository was archived by the owner on Jan 23, 2021. It is now read-only.
This repository was archived by the owner on Jan 23, 2021. It is now read-only.

handleFetch not working #350

Open
Open
@redixhumayun

Description

@redixhumayun

My sw-precache-config file is listed as below

module.exports = {
    staticFileGlobs: [
        'build/**.png',
        'build/vega-icons/**', 
        'build/static/**'
    ],
    swFilePath: './build/service-worker.js', 
    templateFilePath: './service-worker.tmpl', 
    stripPrefix: 'build/', 
    handleFetch: false
}

I am using the template file provided in the src code locally.

Even with the handleFetch flag set to false, I am still seeing the fetch event listener being added to the output service worker.

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