Updating file caching to include categories