Experiment with caching Rapid Diffs HTML by the MR version

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

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.

Edited Aug 27, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading