mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-14 02:00:37 +08:00
Adjust CDN Cache Control
This commit is contained in:
parent
a04313ee6f
commit
db637c5355
@ -53,7 +53,7 @@ export const buildPublic = task(require.main === module, __filename)(async (span
|
|||||||
span,
|
span,
|
||||||
[
|
[
|
||||||
'/*',
|
'/*',
|
||||||
' cache-control: public, max-age=180, stale-while-revalidate=60, stale-if-error=30',
|
' cache-control: public, max-age=240, stale-while-revalidate=60, stale-if-error=15',
|
||||||
'https://:project.pages.dev/*',
|
'https://:project.pages.dev/*',
|
||||||
' X-Robots-Tag: noindex',
|
' X-Robots-Tag: noindex',
|
||||||
'/Modules/*',
|
'/Modules/*',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user