httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Campbell, Lance" <la...@uiuc.edu>
Subject RE: [users@httpd] mod_disk_cache
Date Mon, 07 Jan 2008 17:12:11 GMT
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@gmail.com [mailto:jslive@gmail.com] On Behalf Of Joshua
Slive
Sent: Monday, January 07, 2008 10:46 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] mod_disk_cache

On Jan 7, 2008 12:59 AM, Campbell, Lance <lance@uiuc.edu> 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@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