Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion worker/src/request_init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ pub struct CfProperties {
/// headers are seen on the response. This is equivalent to setting two page rules: “Edge Cache
/// TTL” and “Cache Level” (to “Cache Everything”). The value must be zero or a positive number.
/// A value of 0 indicates that the cache asset expires immediately.
pub cache_ttl: Option<u32>,
pub cache_ttl: Option<i32>,
/// This option is a version of the cacheTtl feature which chooses a TTL based on the response’s
/// status code. If the response to this request has a status code that matches, Cloudflare will
/// cache for the instructed time, and override cache directives sent by the origin. For
Expand Down