Extension for caching html fragments