You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please allow arbitrary max-age parameter for Cache-Control header, such as 1d or 7d instead of only 31d, 62d, 93d and 186d. What's the technical problem with making it n days? Just remove this switch statement. For me, 31 days is too long.
The text was updated successfully, but these errors were encountered:
You could remove the switch statement from the source to use it on your own server(s). It is some older implementation with two reasons: 1. CloudFlare only had specific options which worked with the max-age, but this is solved now. 2. We don't want to have shorter max-ages than 1 day, as it would be unfeasible to host the free service without any caching.
Please allow arbitrary
max-age
parameter forCache-Control
header, such as1d
or7d
instead of only31d
,62d
,93d
and186d
. What's the technical problem with making itn
days? Just remove thisswitch
statement. For me, 31 days is too long.The text was updated successfully, but these errors were encountered: