Experiment with caching Rapid Diffs HTML by the MR version
<!--IssueSummary start-->
<details>
<summary>
Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards.
</summary>
- [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=494358)
</details>
<!--IssueSummary end-->
We have an excellent caching POC by @patrickbajao which uses diff file paths to cache Rapid Diffs HTML file by file.
This approach has a downside that it needs to get the contents of the diff files before it can return the cache. We should experiment with another approach: create a cache key using MR ID and MR version to cache the HTML of the first 5 files and the rest of the files. We expect this to produce much better performance improvements: current POC only produces 19-22% improvement in response time.
issue