We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c92654d commit 46a485bCopy full SHA for 46a485b
worker/src/request_init.rs
@@ -122,7 +122,7 @@ pub struct CfProperties {
122
/// headers are seen on the response. This is equivalent to setting two page rules: “Edge Cache
123
/// TTL” and “Cache Level” (to “Cache Everything”). The value must be zero or a positive number.
124
/// A value of 0 indicates that the cache asset expires immediately.
125
- pub cache_ttl: Option<u32>,
+ pub cache_ttl: Option<i32>,
126
/// This option is a version of the cacheTtl feature which chooses a TTL based on the response’s
127
/// status code. If the response to this request has a status code that matches, Cloudflare will
128
/// cache for the instructed time, and override cache directives sent by the origin. For
0 commit comments