Skip to content

Commit 7bade90

Browse files
increase s-maxage
1 parent 134f1dd commit 7bade90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ async fn main() {
7474
}
7575
static ROBOTS_NAME: HeaderName = HeaderName::from_static("x-robots-tag");
7676
static ROBOTS_VALUE: HeaderValue = HeaderValue::from_static("noindex");
77-
static CACHE_CONTROL_NOSTORE: HeaderValue = HeaderValue::from_static("s-maxage=10");
77+
static CACHE_CONTROL_NOSTORE: HeaderValue = HeaderValue::from_static("s-maxage=30");
7878

7979
async fn noindex_cache(req: Request, next: Next) -> Response {
8080
let mut resp = next.run(req).await;

0 commit comments

Comments
 (0)