httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Gifford <>
Subject Re: [users@httpd] way for me to turn off if-modified-since & always return 304 reply ?
Date Fri, 12 Sep 2008 18:30:43 GMT
"dave selby" <> writes:

> Is there a way for me to turn off if-modified-since so the client
> browser will ALWAYS use its locally cached document


Usually sending an Expires header will tell browsers to mostly use a
cached version.  I use something like this to set my expires time to
quite a bit in the future:

   <Directory /path/to/dir>
      ExpiresActive On
      ExpiresDefault A86400000

This is part of mod_expires:

Also, it would really surprise me if Apache used the parent directory
in deciding about IMS requests.  You might want to do some simple
experiments to verify this is what it's doing.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message