Expires header without mod_expires?

Expires header without mod_expires?

am 23.05.2007 14:41:44 von Jonathan Stein

Hi.

I have a problem with Apache 2.2.

All image files (and probably other files too) are served with an
"expires" header, and the expiration time is the current time, so all
images files are re-requested when a page is reloaded.

As far as I can see, mod_expires is not installed! Could that be true?

Any ideas how to disable the expires header?

Regards

Jonathan

Re: Expires header without mod_expires?

am 24.05.2007 01:21:27 von Jonathan Stein

Jonathan Stein wrote:

> All image files (and probably other files too) are served with an
> "expires" header, and the expiration time is the current time, so all
> images files are re-requested when a page is reloaded.

I have investigated this a little further. The expires header does not
appear if I do a HEAD request. I suppose GET and HEAD should produce the
same headers...

Also, if I put "ExpiresActive Off" in an .htaccess file, I get a 500
Internal Server Error. If I enable mod_expires, there are no errors (but
I still get the Expires header).
If I also add an ExpiresDefault statement in .htaccess, I get the
correct Expires header - and a cache-control header.

So I'm quite sure that my original Expires header comes from something
else than mod_expires...

Any ideas of which other module, that could be setting an Expires header?

Regards

Jonathan

Re: Expires header without mod_expires?

am 06.06.2007 00:01:26 von Jonathan Stein

Jonathan Stein wrote:

> All image files (and probably other files too) are served with an
> "expires" header, and the expiration time is the current time, so all
> images files are re-requested when a page is reloaded.

Does anyone have an idea of which modules, that could add the expires
header?

Regards

Jonathan

Re: Expires header without mod_expires?

am 11.06.2007 14:57:20 von Jonathan Stein

Jonathan Stein wrote:
> Jonathan Stein wrote:
>
>> All image files (and probably other files too) are served with an
>> "expires" header, and the expiration time is the current time, so all
>> images files are re-requested when a page is reloaded.
>
> Does anyone have an idea of which modules, that could add the expires
> header?

mod_cache, if anyone should run into the same problem... (The default
cache expiration time was set to 1 second, so "Expires" time was
actually request time + 1 second).

Regards

Jonathan