diff options
author | doktornotor <notordoktor@gmail.com> | 2015-10-11 15:54:40 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-10-11 15:54:40 +0200 |
commit | 4350fa2eeac5ebf945292a3760917a13af813371 (patch) | |
tree | 66f7f76cd90b2c1f252a32c34c5d8c4d61a247b2 /config/squid3/34 | |
parent | 64544441536552b858797a172148e058f3239115 (diff) | |
download | pfsense-packages-4350fa2eeac5ebf945292a3760917a13af813371.tar.gz pfsense-packages-4350fa2eeac5ebf945292a3760917a13af813371.tar.bz2 pfsense-packages-4350fa2eeac5ebf945292a3760917a13af813371.zip |
Add a button to manually clear disk cache from the GUI
Diffstat (limited to 'config/squid3/34')
-rwxr-xr-x | config/squid3/34/squid_cache.xml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/config/squid3/34/squid_cache.xml b/config/squid3/34/squid_cache.xml index ef477bb4..47471df9 100755 --- a/config/squid3/34/squid_cache.xml +++ b/config/squid3/34/squid_cache.xml @@ -42,7 +42,7 @@ ]]> </copyright> <name>squidcache</name> - <version>0.3.9.2</version> + <version>0.4.0</version> <title>Proxy Server: Cache management</title> <include_file>/usr/local/pkg/squid.inc</include_file> <tabs> @@ -217,6 +217,19 @@ </options> </field> <field> + <fielddescr>Clear Disk Cache NOW</fielddescr> + <description> + <![CDATA[ + Hard Disk Cache is automatically managed by swapstate_check.php script which is scheduled to run daily via cron.<br/> + The script will only clear the disk cache on the following conditions:<br/> + - if the swap.state file is taking up more than 75% of disk space;<br/> + - or the drive is 90% full and swap.state is larger than 1GB.<br/><br/> + If you wish to clear cache <strong>immediately,</strong> press the <input name='clear_cache' id='clear_cache' type='submit' value='Clear Disk Cache NOW' /> button. + ]]> + </description> + <type>info</type> + </field> + <field> <fielddescr>Level 1 Directories</fielddescr> <fieldname>level1_subdirs</fieldname> <description> |