diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-12-16 04:29:00 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-12-16 04:29:00 +0000 |
commit | d9e02a5d0c1a81925df33a9b25501fc90db91451 (patch) | |
tree | a10bc2a56861cd1c1adb2241d8e877ba12fcd2ae /index.php | |
parent | dc089173456c95dcec1e6184b8e6b5b2810ced52 (diff) |
Various optimizations:
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!
Diffstat (limited to 'index.php')
0 files changed, 0 insertions, 0 deletions