Skip to content

Commit

Permalink
chore(api): raise PublicLong cache duration from 1h to 1d (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
williamboman committed Sep 8, 2024
1 parent f932af2 commit b10889d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ impl CacheControl {
CacheControl::NoStore => "no-store",
CacheControl::PublicShort => "max-age=0, s-maxage=60, stale-while-revalidate=120",
CacheControl::PublicMedium => "max-age=0, s-maxage=900",
CacheControl::PublicLong => "max-age=0, s-maxage=3600",
CacheControl::PublicLong => "max-age=0, s-maxage=86400",
}
}
}
Expand Down

0 comments on commit b10889d

Please sign in to comment.