Is it safe to cache the nhsuk.min.js file in the users browser? #1215
-
Just setting up some browser caching and wanted to confirm its safe to do so for the script. |
Beta Was this translation helpful? Give feedback.
Answered by
colinrotherham
Apr 8, 2025
Replies: 1 comment
-
We'd recommend using Where the version number is bumped with each release |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
anandamaryon1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @mikey-wotton
We'd recommend using
nhsuk.min.js
nhsuk-9.3.0.min.js
for long cache durations, or when never revalidatedWhere the version number is bumped with each release