Squid configuration directive cache

Available in: 3.4   3.3   3.2   2.7   3.1   3.0   2.6  

History:

Changes in 2.7 cache

Suggested defaults modified

Changes in 3.1 cache

Removed the 'QUERY' acl and 'cache deny QUERY' entries. Replaced by new refresh_pattern instead.

Changes in 2.6 cache

New name for the old no_cache directive.

For older versions see the linked page above

Configuration Details:

Option Name:cache
Replaces:no_cache
Requires:
Default Value:Allow caching, unless rules exist in squid.conf.
Suggested Config:

	A list of ACL elements which, if matched and denied, cause the request to
	not be satisfied from the cache and the reply to not be cached.
	In other words, use this to force certain objects to never be cached.

	You must use the words 'allow' or 'deny' to indicate whether items
	matching the ACL should be allowed or denied into the cache.

	This clause supports both fast and slow acl types.
	See http://wiki.squid-cache.org/SquidFaq/SquidAcl for details.

 

Back

Search

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors