1
0
Fork 0
forked from OpenNeo/impress
impress/app/views
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
..
broken_image_reports i18n for broken_image_reports#new 2013-01-24 18:23:18 -06:00
closet_hangers Move item_link partial caching to a helper rather than the template itself 2013-06-22 16:31:46 -07:00
closet_lists move closet-hanger-destroy form to JS 2013-06-22 15:45:59 -07:00
contributions i18n for contributions#index 2013-01-24 18:23:18 -06:00
items Move item_link partial caching to a helper rather than the template itself 2013-06-22 16:31:46 -07:00
layouts Move closet-hangers-update form from partial to JS 2013-06-22 15:27:00 -07:00
neopets_pages import items to a specific list 2013-04-09 15:50:33 -05:00
neopets_users i18n for neopets_users#new 2013-01-24 18:23:19 -06:00
outfits fix a bunch of precompiled-asset-missing errors 2013-03-05 22:26:14 -06:00
pets fix a bunch of precompiled-asset-missing errors 2013-03-05 22:26:14 -06:00
sitemap dynamic robots.txt to refer to sitemap.xml 2011-05-20 20:59:35 -04:00
static oops, remove maintenance message 2012-01-26 13:30:12 -06:00
users i18n for contributions#index 2013-01-24 18:23:18 -06:00