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

_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to