[development] Caching, caching, caching...

Jakub Suchy jakub at rtfm.cz
Tue Jul 11 22:30:19 UTC 2006


Hi,

> Now the question is if we want to go down this road. To properly
> invalidate the cache requires to implement all sorts of hooks (forum
> module needs _comment and _user for example) which you would not need
> otherwise. This complicates the code quite a bit.

I agree, personally i would create a "cache API", which would take care of following
objectives:

1) let modules invalidate specific cache records
2) let modules define a treshold for own content, which instructs cache API how often automatically recache it's
content

Jakub Suchy


More information about the development mailing list