forked from OpenNeo/impress
Matchu
154bdd5d0d
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. |
||
---|---|---|
.. | ||
broken_image_reports | ||
closet_hangers | ||
closet_lists | ||
contributions | ||
items | ||
layouts | ||
neopets_pages | ||
neopets_users | ||
outfits | ||
pets | ||
sitemap | ||
static | ||
users |