12 Jul
2006
12 Jul
'06
12:30 a.m.
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