增加 index不缓存,解决更新后客户端缓存导致页面一直白屏 #1

Merged
chenshaowei merged 1 commits from dev_csw into master 2026-04-09 14:40:54 +08:00
Showing only changes of commit b401e5a937 - Show all commits

12
public/web.config Normal file
View 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>