This article is a mirror article of machine translation, please click here to jump to the original article.

View: 11107|Reply: 1

IIS settings prohibit caching any data

[Copy link]
Posted on 6/28/2021 2:33:37 PM | | | |
Due to the development and testing environment, the front-end js and css need to change frequently, and then they don't want to use the version number to handle it, so how can the browser not cache all the content?

Originally, when requesting a index.html file, IIS returned the status code of the response through the request header and response header, not always a 200 status code.



Prohibit all caches, respond to 200 status codes every time, modify web.config (if not, create a new one)



(End)





Previous:CentOS 7 installs the Node exporter
Next:Grafana+Prometheus+Node Exporter fetches Linux server metrics
Posted on 9/22/2021 8:01:00 PM |
Learn to learn
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com