Add ability to set caching backend