Answer the question
In order to leave comments, you need to log in
Chrome does not want to delete the cached version of the site. What to do?
Hello!
Chrome (and with it Explorer) does not want to delete the cached version of the site.
I already cleared the cache and did a hard reload of the page, and also tried it through ctrl + f5. Nothing works.
In Yandex browser, everything is displayed well.
What can be done in such a situation?
Answer the question
In order to leave comments, you need to log in
The easiest way to get rid of the cache, both files and requests, is to add a GET parameter to the query string.
For example:
If you normally request the site https://www.example.com/, then you can add the `no-cache=1` parameter to the request. This will result in a request https://www.example.com/?no-cache=1
Often the same technique is used to reset the cache of static files such as css and js (and any others).
For example:
<script src="script.js?v=1.0"></script>
<link rel="stylesheet" type="text/css" href="style.css?v=5.2"/>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question