httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <br...@organic.com>
Subject Re: NoCache && !DefaultExpires
Date Sun, 09 Jun 1996 22:45:52 GMT
On Sun, 9 Jun 1996, Andrew Wilson wrote:
> Using mod_expires.c (to version 0.0.10) you can specify an
> ExpiresDefault value, on a per-directory basis, which is used to
> build the Expires: header for a page.  Therefore if you wanted to
> add an Expires: header to r->no_cache requests then you *could*
> .conf or .htaccess up something like:
> 
> --- cut here ---
> # immediate expiry for all non cachable files
> ExpiresDefault now
> --- cut here ---
...
> One situation that causes problems then is where you have a directory
> containing:
> 
>     page-with-access-counter-on-it.shtml
>     page-that-dunt-ever-change.html
> 
> Here you might want the counter page to be Expired immediately (so
> that if you're using a proxy and you ask for a reload you get the
> new page), and the unchanging page to be stamped for expiry after
> 30 days.  Right now mod_expires.c isn't flexible enough to cope
> with this.  You can expire stuff immediately, or after 30 days,
> but not both.

Can the directives which are controlled on a per-<Directory> basis 
also be controlled on a per-<Location> directive?  In other words, could 
you use <Location> to control such a beast?

	Brian


Mime
View raw message