[squid-users] R: Cache_dir NULL

Matus UHLAR - fantomas uhlar at fantomas.sk
Mon Oct 5 12:39:43 UTC 2015


>Hello Amos!
>
>>> i was trying the "null" storage module in Squid 3.4.x.
>
>>It does not exist.

On 05.10.15 10:38, Job wrote:
>excuse me for my misunderstood: i was referring to this for the "null module".
>Is it right?

you don't need it, it's already mentioned in the article you have quoted:

>Can I make Squid proxy only, without caching anything?
>Sure, there are few things you can do.
>You can use the cache access list to make Squid never cache any response:
>cache deny all

>With Squid-2.7, Squid-3.1 and later you can also remove all 'cache_dir' options from your squid.conf to avoid having a cache directory.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

>With Squid-2.4, 2.5, 2.6, and 3.0 you need to use the "null" storage module:
>cache_dir null /tmp
>Note: a null cache_dir does not disable caching, but it does save you from creating a cache structure if you have disabled caching with cache. The directory (e.g., /tmp) must exist so that squid can chdir to it, unless you also use the coredump_dir option.
>To configure Squid for the "null" storage module, specify it on the configure command line:
>--enable-storeio=null,...

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Enter any 12-digit prime number to continue.


More information about the squid-users mailing list