ZF-10448: Cache Zend_Navigation not working
This issue is more or less the same as ZF-6746.
Since Zend_Navigation use spl_object_hash to generate an id for the page, if you cache a Zend_Navigation object, once the cache is loaded, the navigation is broken because spl_object_hash generation unique id for the instance of php. See also http://stackoverflow.com/questions/1370130/…
Possible fix (to test): don't use spl_object_id but md5(serialize(array(...))) representing the object. The active property must be saved as false and the parents property must be saved as null because the parents may changed once you add a page.
I will join the patch but should be improved and well tested.
Thank you for your hard work on the Zend Framework.