aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-10-15 22:27:30 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-10-15 22:27:30 -0400
commitce8a6a35cf47ab03fc5dd0366a8694bb509a215b (patch)
treec421843d7a41c3516763ae8d359a9e34a3379142 /config
parent35027c776834e747460e8fb0a1db478aabe44a56 (diff)
downloadpfsense-packages-ce8a6a35cf47ab03fc5dd0366a8694bb509a215b.tar.gz
pfsense-packages-ce8a6a35cf47ab03fc5dd0366a8694bb509a215b.tar.bz2
pfsense-packages-ce8a6a35cf47ab03fc5dd0366a8694bb509a215b.zip
Correct squid ordering Fixes #114
Diffstat (limited to 'config')
-rw-r--r--config/squid/squid.inc9
1 files changed, 5 insertions, 4 deletions
diff --git a/config/squid/squid.inc b/config/squid/squid.inc
index d89985ee..ddcbdb19 100644
--- a/config/squid/squid.inc
+++ b/config/squid/squid.inc
@@ -681,12 +681,13 @@ function squid_resync_cache() {
$offline_mode = ($settings['enable_offline'] == 'on' ? 'on' : 'off');
$conf = <<<EOD
-cache_dir $disk_cache_system $cachedir $disk_cache_size $level1 256
cache_mem $memory_cache_size MB
-maximum_object_size $max_objsize KB
-minimum_object_size $min_objsize KB
-cache_replacement_policy $cache_policy
+maximum_object_size_in_memory 32 KB
memory_replacement_policy $memory_policy
+cache_replacement_policy $cache_policy
+cache_dir $disk_cache_system $cachedir $disk_cache_size $level1 256
+minimum_object_size $min_objsize KB
+maximum_object_size $max_objsize KB
offline_mode $offline_mode
dns_children 32