Add fragment caching.