We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 134f1dd commit 7bade90Copy full SHA for 7bade90
src/main.rs
@@ -74,7 +74,7 @@ async fn main() {
74
}
75
static ROBOTS_NAME: HeaderName = HeaderName::from_static("x-robots-tag");
76
static ROBOTS_VALUE: HeaderValue = HeaderValue::from_static("noindex");
77
-static CACHE_CONTROL_NOSTORE: HeaderValue = HeaderValue::from_static("s-maxage=10");
+static CACHE_CONTROL_NOSTORE: HeaderValue = HeaderValue::from_static("s-maxage=30");
78
79
async fn noindex_cache(req: Request, next: Next) -> Response {
80
let mut resp = next.run(req).await;
0 commit comments