.
All rights reserved.
*/
/* ========================================================================== */
/*
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
/* ========================================================================== */
]]>
Describe your package hereDescribe your package requirements hereCurrently there are no FAQ items provided.squidcachenoneProxy server: Cache managementsquid.incGeneral settings/pkg_edit.php?xml=squid.xml&id=0Upstream proxy/pkg_edit.php?xml=squid_upstream.xml&id=0Cache management/pkg_edit.php?xml=squid_cache.xml&id=0Access control/pkg_edit.php?xml=squid_nac.xml&id=0Traffic management/pkg_edit.php?xml=squid_traffic.xml&id=0Auth settings/pkg_edit.php?xml=squid_auth.xml&id=0Local users/pkg.php?xml=squid_users.xmlHard disk cache sizeharddisk_cache_sizeThis is the amount of disk space (in megabytes) to use for cached objects.input100Memory cache sizememory_cache_sizeThis is the amount of physical RAM (in megabytes) to be used for negative cache and in-transit objects. This value should not exceed more than 50% of the installed RAM. The minimum value is 1MB.input8Minimum object sizeminimum_object_sizeObjects smaller than the size specified (in kilobytes) will not be saved on disk. The default value is 0, meaning there is no minimum.input0Maximum object sizemaximum_object_sizeObjects larger than the size specified (in kilobytes) will not be saved on disk. If you wish to increase speed more than you want to save bandwidth, this should be set to a low value.input4Level 1 subdirectorieslevel1_subdirsEach level 1 (L1) directory contains 256 subdirectories, so a value of 256 L1 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.select16Memory replacement policymemory_replacementThe memory replacement policy determines which objects are purged from memory when space is needed. The default policy for memory replacement is GDSF.selectheap GDSFCache replacement policycache_replacementThe 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.selectheap LFUDADo not cachedonotcacheThe specified domains or IP addresses (separated by commas) will never be cached.textarea505Enable offline modeenable_offlineEnable this option and the proxy server will never try to validate cached objects. The offline mode also gives access to more cached information than the proposed feature would allow (stale cached versions, where the origin server should have been contacted).checkbox
squid_validate_cache($_POST, &$input_errors);
squid_resync();