Page 1 of 1

About Caching

Posted: Fri Aug 25, 2006 1:54 pm
by Zugschlus
Hi,

when the cache is activated and one changes plugin configuration, it is (sometimes or always?) necessary to have s9y re-build cached entries. This is particularly annoying for a large blog since (a) it takes a lot of time and (b) a JavaScript message box is opened every other page of entries so it is necessary to click "Ok" like eight times on my moderately sized blog.

Would it be possible to have an option to invalidate or erase the cache and have cached entries re-built when an entry is actually dlivered to a web client for the first time?

Greetings
Marc

Re: About Caching

Posted: Fri Aug 25, 2006 1:59 pm
by garvinhicking
Hi!

The cache only affects entry body + extended body. So you only need to recreate the cache when you remove or install a plugin that effects those. That usually only are textmarkup plugins like bbcode, wikimarkup etc.
Would it be possible to have an option to invalidate or erase the cache and have cached entries re-built when an entry is actually dlivered to a web client for the first time?
The problem is that then the blog would need to decide whether an entry is up to date or not. But the blog does not keep track of which plugins you add or remove, so it would never know when to recreate a cache for an existing cached item.

If you would remove all cache items and leat it only rebuild when an entry is viewed and has no cache yet, that would work of course. It just needs to be coded.

Best regards,
Garvin

Re: About Caching

Posted: Fri Aug 25, 2006 2:08 pm
by Zugschlus
garvinhicking wrote: If you would remove all cache items and leat it only rebuild when an entry is viewed and has no cache yet, that would work of course. It just needs to be coded.
Can you please add this to a wish list?

Re: About Caching

Posted: Fri Aug 25, 2006 2:13 pm
by garvinhicking
Hi!

If you add it it yourself here:

http://sourceforge.net/tracker/?group_i ... tid=542825

then you will be notified when it is implemented. :)

Best regards,
Garvin