mentalist Posted March 26, 2009 Share Posted March 26, 2009 Hi, I have a few php pages full of variables used in virtually every generated page. Is there any way to make them stay resident in memory, so that they don't have to be reloaded every time. Even though, every once in a while they might be changed. m Link to comment https://forums.phpfreaks.com/topic/151295-caching/ Share on other sites More sharing options...
unska Posted March 26, 2009 Share Posted March 26, 2009 You can cache variables with apc_add function (http://fi2.php.net/manual/en/function.apc-add.php). Link to comment https://forums.phpfreaks.com/topic/151295-caching/#findComment-794749 Share on other sites More sharing options...
mentalist Posted March 26, 2009 Author Share Posted March 26, 2009 Is this session based or for all users? Link to comment https://forums.phpfreaks.com/topic/151295-caching/#findComment-794751 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.