Added content caching for main resources