mirror of
https://github.com/jnMetaCode/superpowers-zh.git
synced 2026-09-03 07:23:56 +08:00
Merge pull request #80 from jnMetaCode/fix/html-no-store
fix(site): HTML no-store 防边缘缓存
This commit is contained in:
@@ -648,7 +648,7 @@ function build() {
|
||||
' Referrer-Policy: no-referrer\n' +
|
||||
' Cross-Origin-Opener-Policy: same-origin\n' +
|
||||
' Permissions-Policy: geolocation=(), microphone=(), camera=()\n' +
|
||||
' Cache-Control: public, max-age=0, must-revalidate\n' +
|
||||
' Cache-Control: no-store\n' +
|
||||
'/assets/*\n Cache-Control: public, max-age=31536000, immutable\n' +
|
||||
'/styles.css\n Cache-Control: public, max-age=31536000, immutable\n' +
|
||||
'/app.js\n Cache-Control: public, max-age=31536000, immutable\n');
|
||||
|
||||
Reference in New Issue
Block a user