meqif/cec2012pt-server — pull request #12 by meqif (2012-06-16 18:54:22+00:00)
Title: [#30838077] Add caching for GET requests.

These directives create a copy of the request response in the filesystem, which can then be served by the web server without hitting the DB or even reaching Rails.

Searches are not cached because of the way they're currently done (GET requests with request body).

**NOTE**: we'll need to add expirations (with expire_page or [sweepers](http://guides.rubyonrails.org/caching_with_rails.html#sweepers) when methods that change elements in the DB are implemented.