mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
perf(docs-infra): improve app firebase configuration (#59170)
- Remove trailing slash redirect (e.g., /overview no longer redirects to /overview/). - Update static file matching: Resolves an issue where hashed files were being cached for up to 1 hour. PR Close #59170
This commit is contained in:
committed by
Andrew Kushnir
parent
456fe22ad4
commit
e21e885fc8
+2
-1
@@ -3,6 +3,7 @@
|
||||
"target": "angular-docs",
|
||||
"public": "./build/browser",
|
||||
"ignore": ["**/.*"],
|
||||
"trailingSlash": false,
|
||||
"headers": [
|
||||
{
|
||||
"source": "assets/images/tutorials/common/*.jpg",
|
||||
@@ -18,7 +19,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "*.[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f].+(css|js)",
|
||||
"source": "/**/*-[0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z].*",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Cache-Control",
|
||||
|
||||
Reference in New Issue
Block a user