aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid-reverse/squid_cache.xml
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2012-04-16 07:22:52 +0000
committerMarcello Coutinho <marcellocoutinho@gmail.com>2012-04-16 07:22:52 +0000
commit0966f6a152bea646cdd89c6012bbaeef5533ce19 (patch)
treef7996cd40b38e97fb85d59a245e2cddacc8793c9 /config/squid-reverse/squid_cache.xml
parent5e6c7206641c79bfd6ab116e7cd41dba21b8b6f8 (diff)
downloadpfsense-packages-0966f6a152bea646cdd89c6012bbaeef5533ce19.tar.gz
pfsense-packages-0966f6a152bea646cdd89c6012bbaeef5533ce19.tar.bz2
pfsense-packages-0966f6a152bea646cdd89c6012bbaeef5533ce19.zip
squid3 - version 2.0.3 with dynamic content options on cache tab
Diffstat (limited to 'config/squid-reverse/squid_cache.xml')
-rw-r--r--config/squid-reverse/squid_cache.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/config/squid-reverse/squid_cache.xml b/config/squid-reverse/squid_cache.xml
index ce7bd585..d0e6ffac 100644
--- a/config/squid-reverse/squid_cache.xml
+++ b/config/squid-reverse/squid_cache.xml
@@ -245,6 +245,37 @@
<option><name>Heap LRU</name><value>heap LRU</value></option>
</options>
</field>
+ <field>
+ <name>Dynamic and Update Content</name>
+ <type>listtopic</type>
+ </field>
+ <field>
+ <fielddescr>Cache Dynamic Content</fielddescr>
+ <fieldname>cache_dynamic_content</fieldname>
+ <description><![CDATA[Select this option to <a target=_new href='http://wiki.squid-cache.org/ConfigExamples/DynamicContent'>enable caching of dynamic content.</a><br>
+ ]]></description>
+ <type>checkbox</type>
+ <size>10</size>
+ </field>
+ <field>
+ <fielddescr>Refresh Patters</fielddescr>
+ <fieldname>refresh_patters</fieldname>
+ <description><![CDATA[Once enabling dynamic cache, also apply squid wiki refresh_patters to sites like <a target=_new href='http://wiki.squid-cache.org/ConfigExamples/DynamicContent/YouTube'>Youtube</a> and <a target=_new href='http://wiki.squid-cache.org/SquidFaq/WindowsUpdate'>windowsupdate</a><br>
+ <br><strong>Notes:</strong><br>
+ set 'Finish transfer if less than x KB remaining' on 'traffic mgmt' squid tab to -1 when applying these patters.<br><br>
+ set Maximum download size on 'traffic mgmt' squid tab to a value that fits patters your are applying.<br>Microsoft may need 200Mb and youtube 4GB.]]></description>
+ <type>select</type>
+ <default_value>none</default_value>
+ <options>
+ <option><name>Youtube</name><value>youtube</value></option>
+ <option><name>Windows Update</name><value>windows</value></option>
+ <option><name>Symantec Antivirus</name><value>symantec</value></option>
+ <option><name>Avira</name><value>avira</value></option>
+ <option><name>Avast</name><value>avast</value></option>
+ </options>
+ <multiple/>
+ <size>06</size>
+ </field>
</fields>
<custom_php_command_before_form>
if($_POST['harddisk_cache_size'] != $config['installedpackages']['squidcache']['config'][0]['harddisk_cache_size']) {