Name
NoCache
Synopsis
NoCache
word
|
host
|
domain
list
Description
[server config or within <VirtualHost>]
This directive specifies a matching of documents that are not cached by the server. You can use one of three options:
-
word The server searches for any such word in the title of the document. If one is found, the document is not cached.
-
host A document that originates from the target host isn’t cached.
-
domainlist Documents originating from any domain in the list are not cached.
For example:
NoCache abc.com def.com ghi.com NoCache somecompany NoCache *
Note that you are allowed to use wildcards. The last example forcees the server not to cache any documents at all.
(Apache 1.1 or later)
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access