RE: mod_disk_cache

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

 



Joshua,
I don't understand what you are saying.  Is there some command parameter
you can send to htcacheclean or is there a special way of formatting the
requested cached URL that will cause it to be refreshed? 

Since I am caching Tomcat dynamic content I use the following parameters
when setting up the mod_disk_cache:

    CacheRoot /a/b/c/d/e
    CacheSize 256
    CacheEnable disk /servletName/
    CacheDefaultExpire 3600
    CacheDirLevels 2
    CacheDirLength 10
    CacheIgnoreCacheControl off
    CacheIgnoreHeaders None
    CacheIgnoreNoLastMod On
    CacheDefaultExpire 600                     
    CacheMaxExpire 3600

Thanks,

Lance Campbell
Project Manager/Software Architect
Web Services at Public Affairs
University of Illinois
217.333.0382
http://webservices.uiuc.edu
 

-----Original Message-----
From: jslive@xxxxxxxxx [mailto:jslive@xxxxxxxxx] On Behalf Of Joshua
Slive
Sent: Monday, January 07, 2008 10:46 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  mod_disk_cache

On Jan 7, 2008 12:59 AM, Campbell, Lance <lance@xxxxxxxx> wrote:
>
>
>
>
> httpd-2.0.59
>
>
>
> Does mod_disk_cache support a mechanism that one can request a
particular
> URL to have its content refreshed?

Sure, if you send the appropriate Cache-Control headers on your
request, you should force mod_cache to get the data from the back-end.
(But I haven't tested this myself.)

Joshua.

---------------------------------------------------------------------
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