httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony J. Biacco" <abia...@formatdynamics.com>
Subject RE: [users@httpd] mod_cache and se
Date Tue, 03 Mar 2009 16:58:32 GMT
Hmm, then the only way I can see doing it then is by putting your
documents not to be cached in some /no-cache web path and using the
CacheDisable directive with that as the argument.
If you don't care much about the Last-Modified header, you can try
unsetting that header that and set CacheIgnoreNoLastMod Off. It
shouldn't affect browser caching as long as you have an Expire header
set.

-Tony
---------------------------
Manager, IT Operations
Format Dynamics, Inc.
303-573-1800x27
abiacco@formatdynamics.com
http://www.formatdynamics.com

From: Nuno Fernandes [mailto:npf-mlists@eurotux.com] 
Sent: Tuesday, March 03, 2009 8:53 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] mod_cache and se

Hi again,
I think that creates a problem that downstream proxies are affected by
that 
change, meaning that if i remove those headers, squids and browsers will
not 
cache that content.
I only want that behaviour in mod_cache in my reverse proxy and not in
the 
other downstream proxies.
Thanks,
Nuno Fernandes
On Monday 02 March 2009 17:31:56 Anthony J. Biacco wrote:
> An environmental variable of no-cache won't do anything, it doesn't
> modify the response headers at all for you. But you can try this..
>
> SetEnvIf Request_URI "\.aspx$" DO_nocache
> Header set Cache-Control no-cache env=DO_nocache
> Header unset Expires env=DO_nocache
>
> -Tony
> ---------------------------
> Manager, IT Operations
> Format Dynamics, Inc.
> 303-573-1800x27
> abiacco@formatdynamics.com
> http://www.formatdynamics.com
>
> From: Nuno Fernandes [mailto:npf-mlists@eurotux.com]
> Sent: Monday, March 02, 2009 10:27 AM
> To: users@httpd.apache.org
> Subject: [users@httpd] mod_cache and se
>
> Hi,
> I'm using mod_cache and mod_disk_cache and mod_proxy in reverse-proxy
> mode to cache some content of some internal servers.
> CacheRoot "/var/cache/httpd/mod_proxy"
> CacheEnable disk /
> CacheDirLevels 5
> CacheDirLength 3
> CacheMinFileSize 1
> CacheMaxFileSize 1000000
> SetEnvIf Request_URI "\.aspx$" no-cache
> I'm trying to disable cache to all the aspx files, but with the above
> configuration, all content is cached. Any ideas?
> Thanks,
> Nuno Fernandes
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message