We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 709fb57 commit f526bb3Copy full SHA for f526bb3
.github/workflows/build.yml
@@ -4,6 +4,7 @@ on:
4
push:
5
branches:
6
- main
7
+ - fix/index-html-cache
8
tags:
9
- 'v*'
10
crates/api/src/static_files.rs
@@ -47,7 +47,7 @@ pub async fn static_handler(req: Request<Body>) -> Response {
47
.unwrap_or(false);
48
// Don't cache HTML files to allow for SPA updates
49
let cache_value = if is_html {
50
- "no-cache"
+ "no-cache, no-store, must-revalidate"
51
} else {
52
"public, max-age=31536000, immutable"
53
};
0 commit comments