Affects Version/s: None
Fix Version/s: 1.2.2
Add ability to cache result of Doctrine_Core::loadModels().
My "models" folder contains more than 20 record classes plus more than 20 base classes. I added result caching for conservative model loading and it's reduced application bootstrap time more than 100ms.
Here code that I added to Doctrine_Core::loadModels()
Cache hit check at the beginning of the method
Result caching before return data
Of course zend_shm_cache_* is not proposed as caching solution.
I didn't use agressive model loading, but I think that caching for aggresive modlel loading can be done with compilation of all models to one file