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
Copy file name to clipboardExpand all lines: www/nginx/src/opnsense/mvc/app/controllers/OPNsense/Nginx/forms/location.xml
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -96,6 +96,13 @@
96
96
<advanced>true</advanced>
97
97
<help>Enter how often the resource must be hit before adding it to the cache.</help>
98
98
</field>
99
+
<field>
100
+
<id>location.cache_valid</id>
101
+
<label>Cache: Force caching time</label>
102
+
<type>text</type>
103
+
<advanced>true</advanced>
104
+
<help>Force caching of 200, 301 and 302 responses according to the request methods enabled for caching. Given in minutes; leave empty to rely on request/response headers from client and upstream.</help>
proxy_cache_background_update {% if location.cache_background_update is defined and location.cache_background_update == '1' %}on{% else %}off{% endif %};
0 commit comments