summaryrefslogtreecommitdiff
path: root/core/helpers/model_cache.php
AgeCommit message (Collapse)Author
2009-01-14Initialize the model_cache:: as an array and use sub arrays to maintain the ↵Tim Almdal
cache
2009-01-14make model_cache::get() a static functionTim Almdal
2008-12-16Various optimizations:Bharat Mediratta
o Add model_cache::get() which caches models avoiding duplicate lookups o Stop using ORM relationships for Item_Model::owner so that we can use caching o For Item_Model::xxx_edit fields, don't make them editable for guests o Other minor stuff. These optimizations reduce the number of queries for a 9-photos page from ~200 to ~45. Still way too many!