Skip to content

fix(pwa): should always fetch conf.yml first #1902

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 13, 2025

Conversation

he0119
Copy link
Contributor

@he0119 he0119 commented Aug 13, 2025

he0119 Medium he0119 /fix/pwa-runtimeCaching → Lissy93/dashy Commits: 1 | Files Changed: 1 | Additions: 12 Label Powered by Pull Request Badge

Category:

Bugfix

Overview

When enableServiceWorker is set to true, the conf.yml file is also cached. After editing the file, the website remains unchanged even after refreshing.

We should use the NetworkFirst cache mode for the conf.yml file.

Code Quality Checklist (Please complete)

  • All changes are backwards compatible
  • All lint checks and tests are passing
  • There are no (new) build warnings or errors
  • (If a new config option is added) Attribute is outlined in the schema and documented
  • (If a new dependency is added) Package is essential, and has been checked out for security or performance
  • (If significant change) Bumps version in package.json

@he0119 he0119 requested a review from Lissy93 as a code owner August 13, 2025 00:58
Copy link

netlify bot commented Aug 13, 2025

Deploy Preview for dashy-dev ready!

Name Link
🔨 Latest commit d7bd5a6
🔍 Latest deploy log https://app.netlify.com/projects/dashy-dev/deploys/689be34cec9a090008fc4c99
😎 Deploy Preview https://deploy-preview-1902--dashy-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Lissy93 Lissy93 merged commit 6e843cf into Lissy93:master Aug 13, 2025
9 checks passed
@he0119 he0119 deleted the fix/pwa-runtimeCaching branch August 13, 2025 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants