#468824 by eaton: Pluggable caching mechanism which can cache both the query result and rendered result.