feat: キャッシュ完全無効化・常時最新取得対応(IIS web.config / Caddyfile / HTML metaタグ / JSキャッシュバスター)
This commit is contained in:
1 parent
b20fdb934d
commit
d5a829bcd7
143 files changed
+478
-2
No files matched your search
+8
-1
@@ -13,6 +13,7 @@
|
||||
</defaultDocument>
|
||||
<staticContent>
|
||||
<clear />
|
||||
<clientCache cacheControlMode="DisableCache" />
|
||||
<mimeMap fileExtension=".html" mimeType="text/html; charset=utf-8" />
|
||||
<mimeMap fileExtension=".htm" mimeType="text/html; charset=utf-8" />
|
||||
<mimeMap fileExtension=".css" mimeType="text/css; charset=utf-8" />
|
||||
@@ -26,6 +27,12 @@
|
||||
<mimeMap fileExtension=".ico" mimeType="image/x-icon" />
|
||||
<mimeMap fileExtension=".md" mimeType="text/markdown; charset=utf-8" />
|
||||
</staticContent>
|
||||
<httpProtocol>
|
||||
<customHeaders>
|
||||
<add name="Cache-Control" value="no-cache, no-store, must-revalidate, max-age=0" />
|
||||
<add name="Pragma" value="no-cache" />
|
||||
<add name="Expires" value="0" />
|
||||
</customHeaders>
|
||||
</httpProtocol>
|
||||
</system.webServer>
|
||||
</configuration>
|
||||
|
||||
Reference in new issue
Block a user