Matchu
e42de795dd
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. |
||
---|---|---|
.. | ||
application_controller.rb | ||
broken_image_reports_controller.rb | ||
closet_hangers_controller.rb | ||
closet_lists_controller.rb | ||
contributions_controller.rb | ||
item_zone_sets_controller.rb | ||
items_controller.rb | ||
locales_controller.rb | ||
neopets_pages_controller.rb | ||
neopets_users_controller.rb | ||
outfits_controller.rb | ||
pet_attributes_controller.rb | ||
pet_types_controller.rb | ||
pets_controller.rb | ||
roulettes_controller.rb | ||
sessions_controller.rb | ||
sitemap_controller.rb | ||
static_controller.rb | ||
sweeper_controller.rb | ||
swf_assets_controller.rb | ||
users_controller.rb |