An other alternative would be to store only the database-values in the cache



function loadResources()
{
        // try cache
        // if not available or ttl expired -> load from database and store in 
cache
}
function loadRoles()
{
[...etc]


Saves you space in the cache, deserialization & deserialization problems.

-----
http://devshed.excudo.net http://devshed.excudo.net 
-- 
View this message in context: 
http://www.nabble.com/Optimising-Zend_Acl-tp21980036p21998042.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to