diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-09-09 02:48:54 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-09-09 02:48:54 +0000 |
commit | ae713f06c76f0129e573357642fcca3f08a61eeb (patch) | |
tree | 2ca0b22c9bad604799f545fa01b402e5fd2ead69 /packages/squid_cache.xml | |
parent | a75da77eb139efaf96f06548359352140531ec2a (diff) | |
download | pfsense-packages-ae713f06c76f0129e573357642fcca3f08a61eeb.tar.gz pfsense-packages-ae713f06c76f0129e573357642fcca3f08a61eeb.tar.bz2 pfsense-packages-ae713f06c76f0129e573357642fcca3f08a61eeb.zip |
Update squid package from Michael Capp
Diffstat (limited to 'packages/squid_cache.xml')
-rw-r--r-- | packages/squid_cache.xml | 61 |
1 files changed, 32 insertions, 29 deletions
diff --git a/packages/squid_cache.xml b/packages/squid_cache.xml index 0fd39977..60445a6a 100644 --- a/packages/squid_cache.xml +++ b/packages/squid_cache.xml @@ -2,18 +2,19 @@ <packagegui> <info> - <name>Squid Cache Management</name> + <name>squidcache</name> </info> <files></files> <menus></menus> - <configpath>installedpackages->package->$packagename->configuration->settings</configpath> - + <configpath>['installedpackages']['package']['squidcache']['configuration']['settings']</configpath> + <aftersaveredirect>/pkg_edit.php?xml=squid_cache.xml&id=0</aftersaveredirect> + <tabs> <tab> <text>General Settings</text> - <url>/pkg_edit.php?xml=squid1.xml&id=0</url> + <url>/pkg_edit.php?xml=squid_ng.xml&id=0</url> </tab> <tab> @@ -37,7 +38,7 @@ <url>/pkg_edit.php?xml=squid_traffic.xml&id=0</url> </tab> - <tab> + <!-- <tab> <text>Authentication Settings</text> <url>/pkg_edit.php?xml=squid_auth.xml&id=0</url> </tab> @@ -45,7 +46,8 @@ <tab> <text>Users</text> <url>/pkg_edit.php?xml=squid_users.xml&id=0</url> - </tab> + </tab> + --> </tabs> <fields> @@ -105,10 +107,10 @@ <description>The memory replacement policy determines which objects are purged from memory when space is needed. The default policy for memory replacement is GSDF. <p> <b> LRU: Last Recently Used Policy </b> - The LRU policies keep recently referenced objects. i.e., it replaces the object that has not been accessed for the longest time. <p> <b> Heap GSDF: Greedy-Dual Size Frequency </b> - The Heap GSDF policy optimizes object-hit rate by keeping smaller, popular objects in cache. It achieves a lower byte hit rate than LFUDA though, since it evicts larger (possibly popular) objects. <p> <b> Heap LFUDA: Least Frequently Used with Dynamic Aging </b> - The Heap LFUDA policy keeps popular objects in cache regardless of their size and thus optimizes byte hit rate at the expense of hit rate since one large, popular object will prevent many smaller, slightly less popular objects from being cached. <p> <b> Heap LRU: Last Recently Used </b> - Works like LRU, but uses a heap instead. <p> Note: If using the LFUDA replacement policy, the value of Maximum Object Size should be increased above its default of 4096 KB to maximuze the potential byte hit rate improvement of LFUDA.</description> <type>select</type> <options> - <option><name>LRU</name><value>lru</value></option> - <option><name>Heap LFUDA</name><value>heap_lfuda</value></option> - <option><name>Heap GDSF</name><value>heap_gdsf</value></option> - <option><name>Heap LRU</name><value>heap_lru</value></option> + <option><name>LRU</name><value>LRU</value></option> + <option><name>Heap LFUDA</name><value>heap LFUDA</value></option> + <option><name>Heap GDSF</name><value>heap GSDF</value></option> + <option><name>Heap LRU</name><value>heap LRU</value></option> </options> </field> @@ -118,34 +120,35 @@ <description>The cache replacement policy decides which objects will remain in cache and which objects are replaced to create space for the new objects. The default policy for cache replacement is LFUDA.</description> <type>select</type> <options> - <option><name>LRU</name><value>lru</value></option> - <option><name>Heap LFUDA</name><value>heap_lfuda</value></option> - <option><name>Heap GDSF</name><value>heap_gdsf</value></option> - <option><name>Heap LRU</name><value>heap_lru</value></option> + <option><name>LRU</name><value>LRU</value></option> + <option><name>Heap LFUDA</name><value>heap LFUDA</value></option> + <option><name>Heap GDSF</name><value>heap GSDF</value></option> + <option><name>Heap LRU</name><value>heap LRU</value></option> </options> </field> - + <field> - <fielddescr>Do not cache these domains</fielddescr> - <fieldname>no_cache_domains</fieldname> - <type>rowhelper</type> - <rowhelper> - <rowhelperfield> - <fielddescr>Domain</fielddescr> - <fieldname>domain</fieldname> - <description>If required, the specified domains will never be cached.</description> - <type>input</type> - <size>40</size> - </rowhelperfield> - </rowhelper> + <fielddescr>Domain</fielddescr> + <fieldname>domain</fieldname> + <description>If required, the specified domains will never be cached. Only enter one domain per line.</description> + <type>textarea</type> + <rows>10</rows> + <cols>50</cols> </field> - + <field> <fielddescr>Enable Offline Mode</fielddescr> <fieldname>enable_offline</fieldname> <description></description> <type>checkbox</type> </field> - + </fields> + + <custom_php_global_functions> + </custom_php_global_functions> + + <custom_add_php_command> + </custom_add_php_command> + </packagegui>
\ No newline at end of file |