Implements fragment caching