aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid
diff options
context:
space:
mode:
authorNachtfalkeaw <nachtfalkeaw@web.de>2011-09-05 21:55:10 +0300
committerNachtfalkeaw <nachtfalkeaw@web.de>2011-09-05 21:55:10 +0300
commitcb7043ad4de2db3212fa3856d6deaf8979cc5f4e (patch)
treeff77ca873b51be287cdad231a020f6cb8766ee09 /config/squid
parent548dfb250399802d0908fb7e93e24a4656e7e0f2 (diff)
downloadpfsense-packages-cb7043ad4de2db3212fa3856d6deaf8979cc5f4e.tar.gz
pfsense-packages-cb7043ad4de2db3212fa3856d6deaf8979cc5f4e.tar.bz2
pfsense-packages-cb7043ad4de2db3212fa3856d6deaf8979cc5f4e.zip
squid: added variable for "maximum_object_size_in_memory $max_objsize_in_mem KB" so the size could be changed from GUI.
Diffstat (limited to 'config/squid')
-rw-r--r--config/squid/squid_cache.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/squid/squid_cache.xml b/config/squid/squid_cache.xml
index 881f15b3..55a1ca59 100644
--- a/config/squid/squid_cache.xml
+++ b/config/squid/squid_cache.xml
@@ -136,6 +136,14 @@
<default_value>4</default_value>
</field>
<field>
+ <fielddescr>Maximum object size in RAM</fielddescr>
+ <fieldname>maximum_objsize_in_mem</fieldname>
+ <description>Objects smaller than the size specified (in kilobytes) will be saved in RAM. Default is 32.</description>
+ <type>input</type>
+ <required/>
+ <default_value>32</default_value>
+ </field>
+ <field>
<fielddescr>Level 1 subdirectories</fielddescr>
<fieldname>level1_subdirs</fieldname>
<description>Each level-1 directory contains 256 subdirectories, so a value of 256 level-1 directories will use a total of 65536 directories for the hard disk cache. This will significantly slow down the startup process of the proxy service, but can speed up the caching under certain conditions.</description>