Answer the question
In order to leave comments, you need to log in
How to update cached files on the user side?
Updated several css and js files. Without updating the cache, changes are not displayed on the user's device.
How to update cached files on the user side?
Answer the question
In order to leave comments, you need to log in
you can try adding the file version to the path (that is, the path itself will be different, respectively, the browser will understand that this is already a different file), you can do it like this
<link href="css/styles.v2.css" rel="stylesheet">
<script src="assets/js/script.v3.js"></script>
<link href="css/styles.css?v4" rel="stylesheet">
<script src="assets/js/script.js?v5"></script>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question