impress/app
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
..
assets import items to a specific list 2013-04-09 15:50:33 -05:00
controllers import items to a specific list 2013-04-09 15:50:33 -05:00
flex user:owns, user:wants queries 2013-01-25 10:35:35 -06:00
helpers import items to a specific list 2013-04-09 15:50:33 -05:00
models oops: sweep localized item link caches 2013-06-07 13:26:51 -07:00
views cache item-preview-species on items#show 2013-06-21 19:30:41 -07:00