Added fragment caching to index.