fix(common): stop advertising static assets as immutable (#1836)

This commit is contained in:
Hampus authored and GitHub committed 2026-08-24 12:28:10 +02:00
1 parent 8cfac127f5
commit 208632e648
4 files changed
+31 -21

No files matched your search

+8
View File
@@ -515,6 +515,14 @@ mod tests {
assert!(plan[0].repair_existing_metadata);
}
#[test]
fn uploaded_assets_carry_the_same_policy_the_app_proxy_serves() {
assert_eq!(
IMMUTABLE_ASSET_CACHE_CONTROL,
"public, max-age=31536000, immutable"
);
}
#[test]
fn asset_upload_plan_rejects_manifest_entries_missing_on_disk() {
let temp = tempfile::tempdir().unwrap();