Commit 54986127 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web] Use stale_if_error for one hour/day max caching policy

This will allow the CDN to return content if backend is down
parent d6e4dbce
......@@ -675,7 +675,7 @@
</item>
<item>
<key> <string>_stale_if_error_secs</string> </key>
<value> <int>0</int> </value>
<value> <int>31536000</int> </value>
</item>
<item>
<key> <string>_stale_while_revalidate_secs</string> </key>
......@@ -780,7 +780,7 @@
</item>
<item>
<key> <string>_stale_if_error_secs</string> </key>
<value> <int>0</int> </value>
<value> <int>31536000</int> </value>
</item>
<item>
<key> <string>_stale_while_revalidate_secs</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