1
0
Fork 0
forked from OpenNeo/impress
impress/app/controllers
Matchu e42de795dd Use item proxies for JSON caching
That is, once we get our list of IDs from the search engine, only
fetch records whose JSON we don't already have cached.

It's simpler here to use as_json, but it'd probably be even faster
if I figure out how to serve a plain JSON string from a Rails
controller. In the meantime, requests of entirely cached items
are coming in at about 85ms on average on my box (dev, cache
classes, many items), about 10ms better than the last
iteration.
2013-06-26 23:01:12 -07:00
..
application_controller.rb oops: only infer public locales from language header 2013-01-27 00:35:22 -06:00
broken_image_reports_controller.rb i18n for broken_image_reports#create flashes 2013-01-24 18:23:19 -06:00
closet_hangers_controller.rb basic translation infrastructure for items - search is still english-only, and probably will have to be replaced with a legit search engine 2013-01-24 18:24:34 -06:00
closet_lists_controller.rb closet lists, round one 2011-07-29 10:52:04 -04:00
contributions_controller.rb remove N+1 queries in contributions#index 2013-01-25 15:23:48 -06:00
item_zone_sets_controller.rb only show item zones on outfits#edit occupies filter helper 2013-02-05 11:52:52 -06:00
items_controller.rb Use item proxies for JSON caching 2013-06-26 23:01:12 -07:00
locales_controller.rb locale cookie should be long-term, not a session cookie 2013-01-24 18:24:33 -06:00
neopets_pages_controller.rb Don't add duplicate hangers now that closet import can specify a list 2013-06-25 23:40:02 -07:00
neopets_users_controller.rb i18n for neopets_users#create flashes 2013-01-24 18:23:19 -06:00
outfits_controller.rb oops, deal with missing item fields better 2013-01-28 03:01:25 -06:00
pet_attributes_controller.rb move species to database 2013-01-24 18:25:59 -06:00
pet_types_controller.rb a functioning wardrobe 2010-10-10 22:18:42 -04:00
pets_controller.rb ruby 2.0.0 compatibility... hopefully. 2013-02-25 01:14:45 -05:00
roulettes_controller.rb roulette system :) 2011-01-27 16:35:46 -05:00
sessions_controller.rb devise implemented, but not remembering 2011-01-26 13:40:15 -05:00
sitemap_controller.rb move from with_translations to includes(:translations), since we dont usually care about requiring 2013-01-24 18:26:00 -06:00
static_controller.rb terms 2010-11-05 18:55:27 -04:00
sweeper_controller.rb cache item show pages as a first try :) 2010-12-08 20:15:46 -05:00
swf_assets_controller.rb move zones to database 2013-01-24 18:26:00 -06:00
users_controller.rb i18n for users#index, users#update flashes 2013-01-24 18:23:19 -06:00