8 May
2009
8 May
'09
7:52 a.m.
I need to exclude pages from cache even for anonymous users. I found cacheexclude module. It just $GLOBALS['conf']['cache'] = FALSE; but it does it in hook_init and it doesn`t set any weight during install. I would like someone confirm my hypothesis. It does it in init... since it has to be called for each request. It doesn`t set any weight because content will be cached once every hook had a chance to fire and header will be sent contextually. So if I just want to switch cache off on a "menu item base" I just have to $GLOBALS['conf']['cache'] = FALSE; in the function callback. right? -- Ivan Sergio Borgonovo http://www.webthatworks.it