Adjust CDN Cache Control

This commit is contained in:
SukkaW 2025-01-31 00:01:49 +08:00
parent a04313ee6f
commit db637c5355

View File

@ -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/*',