Skip to content

Conversation

@lillie-dae
Copy link
Contributor

@lillie-dae lillie-dae commented Nov 28, 2025

Overview

Jira ticket: https://nhsd-jira.digital.nhs.uk/browse/XXX)](https://nhsd-jira.digital.nhs.uk/browse/PRMP-919

Description

Users are experiencing caching issues on live after investigation nginx config cache control had a 2 year cache on "/*" this was causing index.html to cache the links to the js/css files. (we verified the asset files were getting unique hashes after their names for example '/assets/index-CHePbE5B.js' )

So this solution we resolve the issue we remove cache-control from all routes but leave it on just assets.

Context

Checklist

Tasks for all changes:

  • 1. I have linked this PR to its Jira ticket.
  • 2. I have run git pre-commits. (WIP)
  • 3. I have added and/or updated relevant tests.
  • 4. I have updated relevant documentation.
  • 5. I have considered the cross-team impact (and have PR approval from both Core & Demographics if necessary).
  • 6. I have successfully deployed this change to a sandbox and witnessed unit and e2e tests passing:

Additional tasks for UI changes (delete if not applicable):

  • 1. I have run the UI Smoke Tests against the deployed sandbox and witnessed it passing:
  • 2. I have added evidence (to this PR) e.g. screenshots/gifs of all visual changes.

@lillie-dae lillie-dae marked this pull request as ready for review November 28, 2025 16:08
@lillie-dae lillie-dae requested review from a team as code owners November 28, 2025 16:08
robg-test
robg-test previously approved these changes Nov 28, 2025
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 1, 2025

@adamwhitingnhs adamwhitingnhs merged commit 8f5b61d into main Dec 1, 2025
40 of 46 checks passed
@adamwhitingnhs adamwhitingnhs deleted the PRMP-919 branch December 1, 2025 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants