Name

NoCache

Synopsis

                     NoCache 
                     word
                     |
                     host
                     |
                     domain 
                     list
                  

[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.

domain list

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 forces the server not to cache any documents at all.

Get Webmaster in a Nutshell, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.