[support] cached content even if in !$may_cache section (drupal 5)

Earnie Boyd earnie at users.sourceforge.net
Sun Apr 19 14:02:54 UTC 2009


Quoting Ivan Sergio Borgonovo <mail at webthatworks.it>:

> I've a
>
> if(!$may_cache) {
>   $item[] = array(
>     'path' => 'some/path',
>     'callback' => 'somefunction',
>   );
> }
>
> function somefunction() {
>   $result=db_query("...");
>   ...
>   $output.=$somedynamicstuff;
>   return $output;
> }
>
> but the result get cached anyway.
>
> Cache is set to normal.
>
> What could it be?
>

Could the problem be your assumption that the $may_cache in the  
hook_menu affects the form?  Or am I missing your question?

--
Earnie
-- http://r-feed.com/           -- http://for-my-kids.com/
-- http://www.4offer.biz/       -- http://give-me-an-offer.com/




More information about the support mailing list