Answer the question
In order to leave comments, you need to log in
How to cache files so that later there are no problems when updating?
I have an index.html on my server which loads all the js and css.
When updating, I simply change the name of the file:
*update*
And don't cache the index.html file.
Is this approach correct? <script src=/js/fileV1.js></script>
<script src=/js/fileV2.js></script>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question