eveel/serious — Issue #12: Caching
Author: eveel
Created: 2012-02-09 19:28:05+00:00
State: open

Nowadays, Serious can operate only with HTTP cache by `Cache-Control` header definition. In the Heroku Cedar stack we have no support of HTTP caching, but we’re able to access the free `memcached` instance and use it in out purposes. There are cases when user can’t connect to memcached at he wants to use a file system storage for cache. We should take care of him.

By the way, we need more than page or fragment caching. Sometimes we perform quietly hard computations, such as tag cloud processing, and we can rely on external caching system to store our results.

1. Research how to make a pluggable cache system with backend selection (memcached || file-based || disabled);
2. Do not break the existing HTTP caching routines, they are okay;
3. Ensure that your cache can work in any of states described above.