HTTP
I believe everyone knows that not allowing the browser to cache information can be set with the following code
On the page:
Server code:
httpResponse.setHeader("Cache-Control", "no-store");
httpResponse.setDateHeader("Expires", 0);
httpResponse.setHeader("Pragma", "no-cache");
What does the cache information here refer to? Because static files, such as CSS, js, and image files, are originally expected to be cached by the browser
What will be the impact if the above settings are not made?
Thank you!
Reply to discussion (solution)
refers to the image of the page including code. Sometimes after loading a new page using jquery's load method, the page will be cached. When that page is updated When , the cached code is loaded