[development] Object caching

Khalid B kb at 2bits.com
Thu Jul 20 23:58:03 UTC 2006


>     if ($_menu = apc_fetch($cid)) {
>       //loaded menu from cache
>     } else {
>       _menu_build();
>       apc_store($cid,$_menu,36000);
>     }

Is it worth it considering this and other performance tweeks and
making them into a .inc that checks for function_exists() and
uses APC  (or memcached or what have you)?


More information about the development mailing list