~hloeung/ubuntu-repository-cache/logging-ubuntu_active-plus-keeps

« back to all changes in this revision

Viewing changes to templates/squid-deb-proxy/squid-deb-proxy.conf

  • Committer: Haw Loeung
  • Date: 2020-12-07 00:54:07 UTC
  • mto: This revision was merged to the branch mainline in revision 291.
  • Revision ID: haw.loeung@canonical.com-20201207005407-h1t00cvfc15flw0v
Allow runtime tuning of memory used by squid

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
maximum_object_size 512 MB
40
40
 
41
41
# cache directory
42
 
{{ Cache_Config }}
 
42
{{ Cache_Storage_Config }}
43
43
 
44
44
# Cache swap more aggressive to avoid having the cache size going above the cache_dir size parameter
45
45
cache_swap_low 80
51
51
#access_log daemon:/var/log/squid-deb-proxy/access.log
52
52
 
53
53
# tweaks to speed things up
54
 
cache_mem {{ Cache_Mem }} MB
 
54
{{ Cache_Memory_Config }}
55
55
maximum_object_size_in_memory 30 MB
56
56
 
57
57
collapsed_forwarding on