Harden HTML cache headers

This commit is contained in:
Theodore Song
2026-07-20 21:48:03 -04:00
parent 37ace65891
commit e4d79b5159
3 changed files with 41 additions and 2 deletions
+35 -2
View File
@@ -5,7 +5,15 @@
"headers": [
{
"key": "Cache-Control",
"value": "no-store, max-age=0"
"value": "no-store, max-age=0, must-revalidate"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Expires",
"value": "0"
}
]
},
@@ -14,7 +22,32 @@
"headers": [
{
"key": "Cache-Control",
"value": "no-store, max-age=0"
"value": "no-store, max-age=0, must-revalidate"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Expires",
"value": "0"
}
]
},
{
"source": "/personal.html",
"headers": [
{
"key": "Cache-Control",
"value": "no-store, max-age=0, must-revalidate"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Expires",
"value": "0"
}
]
}