We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3be1550 + c17750e commit ae9d2f6Copy full SHA for ae9d2f6
src/lib.rs
@@ -13,7 +13,7 @@ use std::{
13
};
14
15
/// The default value for the cache control header.
16
-const CACHE_CONTROL_DEFAULT_VALUE: &str = "max-age=31536000";
+const CACHE_CONTROL_DEFAULT_VALUE: &str = "max-age=60";
17
/// Environment variable for the cache configuration.
18
const CACHE_CONTROL_ENV: &str = "CACHE_CONTROL";
19
/// Brotli compression level 1-11.
@@ -27,7 +27,7 @@ const BROTLI_ENCODING: &str = "br";
27
const PATH_INFO_HEADER: &str = "spin-path-info";
28
29
/// Common Content Encodings
30
-#[derive(PartialEq, Eq, Debug)]
+#[derive(Debug, Eq, PartialEq)]
31
pub enum ContentEncoding {
32
Brotli,
33
//Deflate, // Could use flate2 for this
0 commit comments