squidcache0.4.1Proxy Server: Cache Management/usr/local/pkg/squid.incGeneral/pkg_edit.php?xml=squid.xml&id=0Remote Cache/pkg.php?xml=squid_upstream.xmlLocal Cache/pkg_edit.php?xml=squid_cache.xml&id=0Antivirus/pkg_edit.php?xml=squid_antivirus.xml&id=0ACLs/pkg_edit.php?xml=squid_nac.xml&id=0Traffic Mgmt/pkg_edit.php?xml=squid_traffic.xml&id=0Authentication/pkg_edit.php?xml=squid_auth.xml&id=0Users/pkg.php?xml=squid_users.xmlReal Time/squid_monitor.phpSync/pkg_edit.php?xml=squid_sync.xmlSquid Cache General SettingslisttopicCache Replacement Policycache_replacement_policy Heap LFUDA: Keeps popular objects in cache regardless of their size and thus optimizes byte hit rate at the expense of hit rate. Heap GDSF: Optimizes object-hit rate by keeping smaller, popular objects in cache. Heap LRU: Works like LRU, but uses a heap instead. LRU: Keeps recently referenced objects (i.e., replaces the object that has not been accessed for the longest time).
Please see cache_replacement_policy documentation for additional details.
Default: heap LFUDA
]]>
selectheap LFUDALow-Water Mark in %cache_swap_low
Cache replacement begins when the swap usage is above this low-water mark and attempts to maintain utilisation near the low-water mark.
Please see cache_swap_low documentation for additional details.
]]>
input590High-Water Mark in %cache_swap_high
As swap utilization increases towards this high-water mark, object eviction becomes more agressive.
Please see cache_swap_high documentation for additional details.
]]>
input595Do Not CachedonotcacheNote: Put each entry on a separate line.
]]>
textarea505base64Enable Offline Modeenable_offline
Offline mode gives access to more cached information than normally allowed (e.g., expired cached versions where the origin server should have been contacted otherwise).
]]>
checkboxExternal Cache Managersext_cachemanager
Cache Managers to be granted access to this proxy. Note: Separate entries by semi-colons (;)
]]>
input60Squid Hard Disk Cache SettingslisttopicHard Disk Cache Sizeharddisk_cache_sizeAmount of disk space (in megabytes) to use for cached objects.input10100Hard Disk Cache Systemharddisk_cache_system ufs - the old well-known Squid storage format that has always been there. aufs - uses POSIX threads to avoid blocking the main Squid process on disk I/O. (Formerly known as async-io.) diskd - uses a separate process to avoid blocking the main Squid process on disk I/O. null - does not use any storage. Ideal for Embedded/NanoBSD.
Please see cache_dir documentation for additional details.
]]>
selectufsClear Disk Cache NOW
The script will only clear the disk cache on the following conditions:
- if the swap.state file is taking up more than 75% of disk space;
- or the drive is 90% full and swap.state is larger than 1GB.
If you wish to clear cache immediately, press the button.
]]>
infoLevel 1 Directorieslevel1_subdirs
This will significantly slow down the startup process of the proxy service, but can speed up the caching under certain conditions.
]]>
select16Hard Disk Cache Locationharddisk_cache_location
Default: /var/squid/cache Note: Do NOT include the trailing / when setting a custom location.
]]>
input60/var/squid/cacheMinimum Object Sizeminimum_object_size
Default: 0 (meaning there is no minimum)
]]>
input100Maximum Object Sizemaximum_object_size
Hint: If increased speed is more important than saving bandwidth, this should be set to a low value.
Default: 4 (MB)
]]>
input104Squid Memory Cache SettingslisttopicMemory Cache Sizememory_cache_size
Please see cache_mem documentation for additional details.
This value should not exceed 50% of the installed RAM. The minimum value is 1MB.
Default: 64 (MB)
]]>
input1064Maximum Object Size in RAMmaximum_objsize_in_mem
Default: 256 (KB)
]]>
input10256Memory Replacement Policymemory_replacement_policy Heap GDSF: Optimizes object-hit rate by keeping smaller, popular objects in cache. Heap LFUDA: Keeps popular objects in cache regardless of their size and thus optimizes byte hit rate at the expense of hit rate. Heap LRU: Works like LRU, but uses a heap instead. LRU: Keeps recently referenced objects (i.e., replaces the object that has not been accessed for the longest time).
Please see cache_replacement_policy documentation for additional details.
Default: heap GDSF
]]>
selectheap GDSFDynamic and Update ContentlisttopicCache Dynamic Contentcache_dynamic_content
enable caching of dynamic content.
]]>
checkbox10Refresh Patternsrefresh_patterns
Windows Updates
Notes:
- Squid wiki suggests setting 'Finish transfer if less than x KB remaining' on 'Traffic Mgmt' tab to -1 (but you can apply your own values to control cache).
- Set 'Maximum Download Size' on 'Traffic Mgmt' tab to a value that fits patterns your are applying.
]]>
selectnone05Custom refresh_patternscustom_refresh_patternsNote: These refresh_patterns will only be included if 'Cache Dynamic Content' is enabled.
]]>
textarea675base64
squid_validate_cache($_POST, $input_errors);