RE: mod_cache and se

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

 



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



[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