-
-
Notifications
You must be signed in to change notification settings - Fork 232
feat: add PWA web manifest (without service worker) #1181
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
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
| '/manifest.webmanifest': { | ||
| headers: { | ||
| 'Content-Type': 'application/manifest+json', | ||
| 'Cache-Control': 'public, max-age=0, must-revalidate', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not some minimal caching, e.g.:
| 'Cache-Control': 'public, max-age=0, must-revalidate', | |
| 'Cache-Control': 'public, max-age=3600', |
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The webmanifest should be always checked like the service worker. Once web manifest stable we can change the cache control header.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to change the svg icons again, will be fixed once the service worker fixed (search page)

I need to resolve a permanent redirection when requesting the webmanifest on local dev server or build + preview, works in the preview.
@danielroe wants to add the service worker, we'll need to:
NOTE: open pr preview in private browsing
resolves #1124