expire cache quicker for dynamic pages

Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
Cadey Ratio 2021-01-14 21:37:47 -05:00
parent 31cad90e0a
commit 52779efa04
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ async fn main() -> Result<()> {
warp::reply::with_header( warp::reply::with_header(
reply, reply,
"Cache-Control", "Cache-Control",
"public, max-age=3600, stale-if-error=60", "public, max-age=600, stale-if-error=60",
) )
}); });