impress/app/models/item
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
..
search Use item proxies for JSON caching 2013-06-26 23:01:12 -07:00
proxy.rb Use item proxies for JSON caching 2013-06-26 23:01:12 -07:00
proxy_array.rb Use item proxies for JSON caching 2013-06-26 23:01:12 -07:00
search.rb globalized search first draft 2013-01-24 18:24:35 -06:00