impress/app/views/items
Matchu 154bdd5d0d cache item-preview-species on items#show
items#show has been very slow recently, and I think it's because there's a lot
of querying to be done. Another option would have been to attempt to
short-circuit Item#supported_species if not body specific, but that would
still leave us with 1s load times for body specific items, which is not
satisfactory. The short-circuiting might still be worth doing, but probably
not now.

I'm also not sure that this is actually the core performance problem, but
we'll see. It definitely helped on the dev server: items#show took about
200ms on item pages where everything but species images were cached, then
took about 30ms on subsequent loads. Looking like a good candidate.
2013-06-21 19:30:41 -07:00
..
_item.html.haml improve closet performance by caching item link 2012-08-09 19:34:56 -04:00
_item_link.html.haml localize items#item_link cache 2013-01-24 18:23:20 -06:00
index.html.haml refactor items.index for hierarchy and twl 2013-01-24 18:23:21 -06:00
needed.html.haml needed objects 2010-11-06 13:07:12 -04:00
show.html.haml cache item-preview-species on items#show 2013-06-21 19:30:41 -07:00