架构师_程序员_码农网

Retrieve password
Register

QQ登录

Just one step to get started

Search
View:5711|Reply: 1
打印 上一主题 下一主题

IIS settings disable caching of any data

[copy link]
跳转到指定楼层
owner
发表于 2021-6-28 14:33:37| 看该作者回帖奖励|ReverseBrowse|Read Mode
Due to the development of the test environment, the front-end of the js and css need to change often, and then, do not want to use the version number of the way to deal with, how to let the browser does not cache all the content?

It turns out that if you request an index.html file, iis will return the status code of the response through the request header and response header, and will not always return a 200 status code.



Disable all caching, respond with a 200 status code every time, modify web.config (or create a new one if you don't have one)



(End)





Previous: CentOS 7 installation Node exporter
Next article: Grafana+Prometheus+Node Exporter Get Linux Server Metrics
NET, only published in the process of practice, encountered technical difficulties, do not mislead others.
I 'm not sure if you're going to be able to do that.
sofabed
发表于 2021-9-22 20:01:00| 看该作者
I'm not sure if I'm going to be able to do that.
The code farmer network, only published in the process of practice, encountered technical difficulties, do not mislead others.
You need to log in before you can post back Log in | Register

This version of the integral rules

DISCLAIMER:
All software, programming materials or articles published by Code Farmer are only used for learning and research purposes; the above content shall not be used for commercial or illegal purposes, otherwise, all the consequences please be the user's own responsibility. This site information from the network, copyright dispute has nothing to do with this site. You must completely remove the above content from your computer within 24 hours of downloading. If you like the program, please support the genuine software, buy registration and get better genuine service. If there is any infringement, please contact us by email to deal with it.

Mail To:help@itsvse.com

QQ| ( ICP备14021824号-2 )|Sitemap

GMT+8, 2024-9-19 01:51

Quick ReplyBack to topBack to list