Two questions about cache

Andreas Kaempf <[email protected]>
Newsgroups gmane.comp.web.skunkweb
Organization Soundience, Ltd.
Message-ID <[email protected]>
First of all, thanks and appreciation to Drew, Jacob and other
contributors for developing and sharing such a superb piece of software.
Coming from the opaque mysteries of Zope, I am finding the transparency,
simplicity, and power of SkunkWeb refreshing. It really deserves to be
better known.

I am developing a site that includes news articles with threaded
comments, all pulled from a database, and was wondering whether there
was a way of programmatically invalidating a page's cache. Basically,
the cached version should be valid until we know a change has been made
(i.e., an article has been added or a comment added). It would be nice
to be able to say "this page has been changed, refresh anew next time
requested" rather than relying on a time interval.

My second question was whether it is safe to delete the contents of
/usr/local/skunk/cache occasionally during development to force pages to
be generated fresh, rather than from cache. I'm finding that components
called from components are sometimes drawn from cache even if the source
file has been changed.

Many thanks,
Andreas Kaempf
London, England



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
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.