Adds file-based caching support.