Code from my post: http://blog.danielcorreia.net/outputcacheprovider-for-redis/