wf4/firebase.json
webfussel 386211b24b FIX: firebase cache
Better caching policies
2025-02-02 00:44:49 +01:00

29 lines
629 B
JSON

{
"hosting": {
"headers": [{
"source" : "**/*.@(eot|otf|ttf|ttc|woff|font.css)",
"headers" : [ {
"key" : "Access-Control-Allow-Origin",
"value" : "*"
} ]
}, {
"source" : "**/*.@(js|css)",
"headers" : [ {
"key" : "Cache-Control",
"value" : "max-age=604800"
} ]
}, {
"source" : "**/*.@(jpg|jpeg|gif|png|svg)",
"headers" : [ {
"key" : "Cache-Control",
"value" : "max-age=604800"
} ]
}],
"public": ".output/public",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
}
}