Include user profile settings in review request page Etag calculation.
Review Request #14428 — Created May 8, 2025 and submitted — Latest diff uploaded
This change includes the user's profile settings when calculating the Etag
for the review request detail page. Today, this is useful to prevent
caching in the scenario where a user updates their Quick Access list from
the diff viewer page, and then navigates back to the review request page.
This will also help prevent caching issues for any similar settings in the
future.
- Ran unit tests.
- Added an item to my quick access list from the diff viewer page,
navigated to the review request page and saw that the page wasn't
cached. - Confirmed that the page still caches correctly when the quick access
list hasn't changed.
reviewboard/reviews/views/review_request_detail.py |
---|