impress/app/views/closet_hangers
Matchu 816584f177 Move item_link partial caching to a helper rather than the template itself
This is a surprisingly huge performance gain. On my testing (with
cache_classes set to true to also cache templates), this sped up
closet_hangers#index rendering by a factor of 2 when there were a
significant number of items. Cool beans.

I think we can even hold off on the individual hanger caching now:
we've made the closet hanger partial tons faster by moving forms out
of them and doing this cache check earlier. I'm expecting significant
performance gains both here and on items#index (though less so there).
I'll deploy and see how much it helps in production; if not enough, we
can look at the layered caching of hangers, lists, groups, full pages,
etc.

So glad we don't *have* to move to a pagination model!
2013-06-22 16:31:46 -07:00
..
_closet_hanger.html.haml Move item_link partial caching to a helper rather than the template itself 2013-06-22 16:31:46 -07:00
_help.en-meep.html.haml i18n for closet_hangers#index, closet_lists#edit, closet_lists#new, and maybe some more closet-related things - this was a biggie 2013-01-09 17:15:24 -06:00
_help.en.html.haml i18n for closet_hangers#index, closet_lists#edit, closet_lists#new, and maybe some more closet-related things - this was a biggie 2013-01-09 17:15:24 -06:00
_petpage_content.html.haml use inline-block for petpage exports, now that TNT allow it 2013-05-06 21:50:49 -04:00
_petpage_hanger.html.haml use inline-block for petpage exports, now that TNT allow it 2013-05-06 21:50:49 -04:00
index.html.haml move closet-hanger-destroy form to JS 2013-06-22 15:45:59 -07:00
petpage.html.haml refactor closet_hangers.petpage.instructions to use twl 2013-01-09 17:32:56 -06:00