Skip to content

Commit

Permalink
perf(docs-infra): improve app configuration
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
alan-agius4 committed Dec 12, 2024
1 parent f3729ce commit e49dcaf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion adev/firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"target": "angular-docs",
"public": "./build/browser",
"ignore": ["**/.*"],
"trailingSlash": false,
"headers": [
{
"source": "assets/images/tutorials/common/*.jpg",
Expand All @@ -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": "\\.*-[a-zA-Z0-9]{8}\\.[a-z]{3,4}$",
"headers": [
{
"key": "Cache-Control",
Expand Down

0 comments on commit e49dcaf

Please sign in to comment.