expire cache quicker for dynamic pages
Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
parent
31cad90e0a
commit
52779efa04
|
@ -177,7 +177,7 @@ async fn main() -> Result<()> {
|
|||
warp::reply::with_header(
|
||||
reply,
|
||||
"Cache-Control",
|
||||
"public, max-age=3600, stale-if-error=60",
|
||||
"public, max-age=600, stale-if-error=60",
|
||||
)
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue