Implement preview files caching support