aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid3/33/squid_cache.xml
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2014-04-03 15:57:01 -0300
committerMarcello Coutinho <marcellocoutinho@gmail.com>2014-04-03 15:57:01 -0300
commit2ba6733c7edfe1d7e1ffa0963bf2ed1d75035e55 (patch)
tree571f15986cc6373250e9deadf35254ce4ed12039 /config/squid3/33/squid_cache.xml
parentfaf39f50bf82af08ada1a957fd4e2a8610cab1b4 (diff)
downloadpfsense-packages-2ba6733c7edfe1d7e1ffa0963bf2ed1d75035e55.tar.gz
pfsense-packages-2ba6733c7edfe1d7e1ffa0963bf2ed1d75035e55.tar.bz2
pfsense-packages-2ba6733c7edfe1d7e1ffa0963bf2ed1d75035e55.zip
squid3-dev - Improve cache tests and cleanup
https://forum.pfsense.org/index.php?topic=74453.msg407275#msg407275 Thanks to Bellera
Diffstat (limited to 'config/squid3/33/squid_cache.xml')
-rwxr-xr-xconfig/squid3/33/squid_cache.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/config/squid3/33/squid_cache.xml b/config/squid3/33/squid_cache.xml
index a1682eaa..f60863c9 100755
--- a/config/squid3/33/squid_cache.xml
+++ b/config/squid3/33/squid_cache.xml
@@ -179,7 +179,14 @@
<option><name>diskd</name><value>diskd</value></option>
<option><name>null</name><value>null</value></option>
</options>
- </field>
+ </field>
+ <field>
+ <fielddescr>Clear cache on log rotate</fielddescr>
+ <fieldname>clear_cache</fieldname>
+ <description><![CDATA[If set, Squid will clear cache and swap.state on every log rotate.<br>
+ This action will be executed automatically if the swap.state file is taking up more than 75% disk space,or the drive is 90%]]></description>
+ <type>checkbox</type>
+ </field>
<field>
<fielddescr>Level 1 subdirectories</fielddescr>
<fieldname>level1_subdirs</fieldname>