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

Dynamic content from API #185

@felek000

Description

@felek000

Hello i want to configure my PWA app. My app works fine except dynamic content api. When online it working fine but when i go offline i get status 503 from serviceWorker. My config
file: ngsw-manifest.json any adicional config needed here ?

{
  "dynamic": {
    "group": [{
      "name": "api",
      "urls": {
        "URLCALL": {
          "match": "prefix"
        }
      },
      "cache": {
        "optimizeFor": "freshness",
        "maxAgeMs": 3600000,
        "maxEntries": 20,
        "strategy": "lru"
      }
    }]
  },
  "external": {
    "urls": [{
      "url": "https://fonts.googleapis.com/icon?family=Material+Icons"
    }]
  }
}

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