Add Object Cache support (Redis or something else)

I’d like to be able to test code on sites that may operate differently when an external object cache is used. Can you add this as a feature so that people can use object cache plugins to connect to it like Redis?