How to completely disable Squid caching
-
Hello,
Is there any way to completely disable the caching option in the Squid proxy server ?
I looked for this option and I just couldn't find it.If you are curious about the reason i'm asking, I just found out that my Suricata (IPS) detects malicious sites as expected when it finds it, but squid still provide the malicious content to other computers from its cache in case they are also trying to access the malicious site (even when it is in Suricata's block list !)
Any help to disable the squid caching will be highly appreciated !
- I'm running the latest versions of pfSense (2.4.0) and Squid (0.4.42)
-
Set the Hard Disk Cache System to null.
-
Set the Hard Disk Cache System to null.
Already tried it without success.
I also tried to set the "Maximum Object Size" to 0 and it still had something cached somewhere.I assume that even though it is not caching to the disk, it still caches something in the RAM.
-
Well then set the RAM cache size to 1 or whatever.
-
Well then set the RAM cache size to 1 or whatever.
Even with:
- "Hard Disk Cache System" - Null
- "Maximum Object Size" - 0
- "Memory Cache Size" - 0
- "Maximum Object Size in RAM" - 0
I'm still getting malicious cached content from squid >:(
-
Eh, 0 is not a valid value. Use https://github.com/pfsense/FreeBSD-ports/pull/438 if you really cannot live with superdangerous 1MB cache in RAM. ::)
-
Eh, 0 is not a valid value. Use https://github.com/pfsense/FreeBSD-ports/pull/438 if you really cannot live with superdangerous 1MB cache in RAM. ::)
Looking at the commits, does it means we will be able to use "all" inside the "Do Not Cache" textarea in "Local Cache" tab?