caching doc