Forum Moderators: phranque
--
Luke Reeves
URL snipped
[edited by: DaveAtIFG at 4:22 pm (utc) on April 14, 2003]
For a single page, it might be easy to impliment, as you can redirect to a copy of the one page with the additional "NO_CACHE" in the header.
For a whole site, you would probably be best to use SSI or some template-driven solution so that mod_rewrite could just set a flag (netscape=4, for instance) and then just have an if netscape=4 print no-cache in the same set of pages.
Make sense?
dave
Here's [mnot.net] a pretty good tutorial on caching.
For example, the default Apache config file comes with a set of directives to automatically disable persistent HTTP connections for user-agents such as RealPlayer and a specific version of the Java runtime - this is close to what I want.