Skip to content
Snippets Groups Projects
Forked from an inaccessible project.
ngsw-config.json 981 B
{
  "index": "/index.html",
  "dataGroups":
  [
    {
      "name": "api",
      "urls": ["/api/**"],
      "cacheConfig": {
        "strategy": "freshness",
        "maxSize": 500,
        "timeout": "3s",
        "maxAge": "7d"
      }
    },
    {
      "name": "static",
      "urls": [
        "!/**/*api*/**"
      ],
      "cacheConfig": {
        "strategy": "performance",
        "maxSize": 500,
        "timeout": "3s",
        "maxAge": "30d"
      }
    }
  ],
  "assetGroups": [
    {
      "name": "app",
      "installMode": "lazy",
      "updateMode": "lazy",
      "resources": {
        "files": [
          "/favicon.ico",
          "/*.html",
          "/*.scss",
          "/*.ts"
        ],
        "urls": [
          "https://fonts.googleapis.com/**"
        ]
      }
    }, {
      "name": "assets",
      "installMode": "lazy",
      "updateMode": "prefetch",
      "resources": {
        "files": [
          "/assets/**"
        ]
      }
    }
  ]
}