RE: mod_cache and se

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx
http://www.formatdynamics.com

From: Nuno Fernandes [mailto:npf-mlists@xxxxxxxxxxx] 
Sent: Tuesday, March 03, 2009 8:53 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  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@xxxxxxxxxxxxxxxxxx
> http://www.formatdynamics.com
>
> From: Nuno Fernandes [mailto:npf-mlists@xxxxxxxxxxx]
> Sent: Monday, March 02, 2009 10:27 AM
> To: users@xxxxxxxxxxxxxxxx
> Subject:  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@xxxxxxxxxxxxxxxx
> " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux