[darcs-users] testing new darcsweb, patch bot (Re: increasing participation: patch notifications)

Alberto Bertogli albertito at blitiri.com.ar
Wed Aug 6 03:35:23 UTC 2008


On Tue, Aug 05, 2008 at 07:21:03PM -0700, Simon Michael wrote:                                   
> Hi Alberto, and thanks for darcsweb.                                                           
                                                                                                 
You're welcome =)                                                                                
                                                                                                 
                                                                                                 
> You mean apache's mod_cache, right ?                                                           
                                                                                                 
I have no idea about apache's mod_cache, I mean darcsweb's internal                              
cache.                                                                                           
                                                                                                 
When enabled, the first time you visit a page, darcsweb will save the                            
generated HTML on disk. Then, on the next visit to that page, if the                             
saved file is newer than the repository's last modification, it will                             
just reuse it.                                                                                   
                                                                                                 
Since checking the last time a repo has been modified does not involve                           
running darcs, this is quite, quite cheap.                                                       
                                                                                                 
To enable it, you only need to tell darcsweb where it should save the                            
files (the "cachedir" option), and set (if you haven't already) "myname"                         
and "myurl". Remember to clean the directory every once in a while.                              
                                                                                                 
Thanks,                                                                                          
		Alberto



More information about the darcs-users mailing list