roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave <>
Subject Re: cache problem/question
Date Tue, 16 Oct 2007 01:47:55 GMT
On 10/14/07, Guy Katz <> wrote:
> Hi all;
> I added a model plug-in to display some info in my custom theme and in
> the front page.
> This model is updated periodically every 3 minutes. I have noticed that
> the caching of the web pages prevents the updated data from being
> displayed and only cache data is displayed.
> Of course, if I clean the cache using the blog admin the updated data is
> displayed.
> What are my options here? I want to see the updated data from this
> plugin at all times. Is there some way to configure the cache for that?
> Any other suggestions?

Let's see... Here are a couple of ideas. You could use an expiring
page cache set to time out every 5, 10 or more minutes -- the longer
the better in terms of site performance. Or you could set the plugin
up to invalidate the cache every time an update results in a
meaningful change.

- Dave

View raw message