Fix #2167 allow removing no-store and must-revalidate from Cache-Control headers

This commit is contained in:
Kijin Sung 2023-08-31 02:19:18 +09:00
parent 35dec01ab0
commit 15648d10d1
6 changed files with 29 additions and 1 deletions

View file

@ -191,6 +191,16 @@
<p class="x_help-block">{$lang->about_cache_truncate_method}</p>
</div>
</div>
<div class="x_control-group">
<label class="x_control-label">{$lang->cache_control_header}</label>
<div class="x_controls">
<label for="cache_control_header_no_cache" class="x_inline"><input type="checkbox" name="cache_control_header[]" id="cache_control_header_no_cache" value="no-cache" checked="checked"|cond="in_array('no-cache', $cache_control_header)" disabled="disabled" /> no-cache</label>
<label for="cache_control_header_no_store" class="x_inline"><input type="checkbox" name="cache_control_header[]" id="cache_control_header_no_store" value="no-store" checked="checked"|cond="in_array('no-store', $cache_control_header)" /> no-store</label>
<label for="cache_control_header_must_revalidate" class="x_inline"><input type="checkbox" name="cache_control_header[]" id="cache_control_header_must_revalidate" value="must-revalidate" checked="checked"|cond="in_array('must-revalidate', $cache_control_header)" /> must-revalidate</label>
<br />
<p class="x_help-block">{$lang->about_cache_control_header}</p>
</div>
</div>
<div class="x_control-group">
<label class="x_control-label">{$lang->manager_layout}</label>
<div class="x_controls">