[development] Caching, caching, caching...
jakub at rtfm.cz
Tue Jul 11 22:30:19 UTC 2006
> 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
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
More information about the development