Re: Patch for simple walk caching

Roberto De Almeida <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.devel
Message-ID <[email protected]>
Hey, Jesse! Nice to hear from you. :-)

On Wed, 08 Dec 2004 09:07:28 -0400, Jesse Lawrence
<lawrence_jesse-FFYn/[email protected]> wrote:
> Hey Roberto,  how are you?  Maybe I'm missing something, but how do you
> deal with comments?  Is there a method which removes all static pages
> associated with the entry being commented on (main page, category page,
> date pages and single-entry page)?

For comments, you could call the "build(url)" method that I created to
re-render the page. Since I'm a little lazy, I simply call os.unlink
on the comments plugin to delete the static page, relying on the funky
caching to update the page with the new comment later when necessary.

Roberto

-- 
Roberto De Almeida <[email protected]>
this email is: [ ] bloggable [ ] ask first [ ] private [x] nonsense


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.