增加 index不缓存,解决更新后客户端缓存导致页面一直白屏 #1
12
public/web.config
Normal file
12
public/web.config
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<configuration>
|
||||
<location path="index.html">
|
||||
<system.webServer>
|
||||
<httpProtocol>
|
||||
<customHeaders>
|
||||
<add name="Cache-Control" value="no-cache, no-store, must-revalidate" />
|
||||
</customHeaders>
|
||||
</httpProtocol>
|
||||
</system.webServer>
|
||||
</location>
|
||||
</configuration>
|
||||
Loading…
Reference in New Issue
Block a user