Commit 906761ed authored by Romain Courteaud's avatar Romain Courteaud

erp5_web: change one-day-max policy max-age to 14400s

Set the max-age value to 4h instead of 10min for the one-day-max policy
(ie, 24h/6, like one-hour-max uses 10min max age).

The idea is to reduce backend access of nearly static web sites,
while still allowing changes without waiting for too long before it is propagated.
parent 5ca69f88
...@@ -716,7 +716,7 @@ ...@@ -716,7 +716,7 @@
</item> </item>
<item> <item>
<key> <string>_max_age_secs</string> </key> <key> <string>_max_age_secs</string> </key>
<value> <int>600</int> </value> <value> <int>14400</int> </value>
</item> </item>
<item> <item>
<key> <string>_mtime_func</string> </key> <key> <string>_mtime_func</string> </key>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment