httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject Re: [users@httpd] Cache configuration advice
Date Wed, 30 Apr 2008 15:37:35 GMT
On Wed, Apr 30, 2008 at 8:37 AM, Marko Asplund <> wrote:

>  As far as I've understood the below setup would not correctly cache
>  request content when using request parameters (requires Expires header).
>  What would be the best way to fix this?

See the CacheIgnoreQueryString directive.

>  How will the Cache-Control and Expires (ExpiresByType) work together?

The Expires* directives also set max-age on Cache-Control.

Using those directives, you are influencing how down-stream caches
will behave, not the local cache. The local cache would need to see
those directives coming from the upstream (if I remember correctly).

You'll want to use the CacheDefaultExpire directive to control the
local cache. Unfortunately, I don't think it is possible to set
different expiration times within the same host, since this directive
can't be placed in <Directory>/<Location> sections.

>  Is it possible to have the cache asynchronously update cached content so
>  that the last request would be served with expired content but behind
>  the scenes the cache would update the content once expired content is
>  requested?

This feature has been discussed by the developers, but is not
currently implemented to the best of my knowledge.


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