Squid proxy local cache
-
HI, Local cache default settings have:
Maximum Object Size 4 mb
Maximum Object Size in RAM 256 kb
I have 16 GB RAM and increased Memory Cache Size to 4096 mb. What is your suggestion for this 2 settings to have balance between speed and catching size? -
@Antibiotic use squid memory pools and set them based on the pool classes you need
-
read_ahead_gap 64 KB #try to increase your read ahead gap to see if it helps negative_ttl 1 second connect_timeout 30 seconds request_timeout 60 seconds half_closed_clients off shutdown_lifetime 10 seconds negative_dns_ttl 1 seconds ignore_unknown_nameservers on pipeline_prefetch 100 #also research pipline_prefetch
-
@JonathanLee said in Squid proxy local cache:
use squid memory pools and set them based on the pool classes you need
Can you please more in details, how to check and how to use?
-
Ref:
http://www.squid-cache.org/Doc/config/memory_pools_limit/Try to change this to a higher value if your firewall can handle it