Cache API. Re: [development] Cpu usage: something is very wrong (caching).

Augustin (Beginner) drupal.beginner at wechange.org
Tue Aug 1 14:42:12 UTC 2006


On Wednesday 12 July 2006 06:30 am, Jakub Suchy wrote:
> 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


This didn't get any reply, but I think it's worth discussing further, in light 
of my previous post.

a.
	


-- 
http://www.wechange.org/
Because we and the world need to change.
 
http://www.reuniting.info/
Intimate Relationships, peace and harmony in the couple.


More information about the development mailing list