Skip to content

🐛 fix: 修复 PWA 缺少 cleanupOutdatedCaches 导致旧缓存不清理 - #140

Closed
wling-art wants to merge 1 commit into
mainfrom
fix/pwa-cache-expiration
Closed

🐛 fix: 修复 PWA 缺少 cleanupOutdatedCaches 导致旧缓存不清理#140
wling-art wants to merge 1 commit into
mainfrom
fix/pwa-cache-expiration

Conversation

@wling-art

Copy link
Copy Markdown
Member

No description provided.

@wling-art wling-art added the type: documentation Pull request for improvements or additions to docs contents label Jul 28, 2026
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying sapling with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0860c55
Status: ✅  Deploy successful!
Preview URL: https://f7fdaf9a.sapling-8jp.pages.dev
Branch Preview URL: https://fix-pwa-cache-expiration.sapling-8jp.pages.dev

View logs

@Dreeam-qwq Dreeam-qwq left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cleanupOutdatedCaches 应该是默认就启用的,参考 options.ts#L91

现在的缓存清理是有问题吗(

@Dreeam-qwq Dreeam-qwq added type: docs site Pull request for code changes related to the site itself and removed type: documentation Pull request for improvements or additions to docs contents labels Jul 29, 2026
@wling-art wling-art closed this Jul 29, 2026
@wling-art
wling-art deleted the fix/pwa-cache-expiration branch July 29, 2026 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: docs site Pull request for code changes related to the site itself

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants