Draft
Fix PWA cache preventing deployment updates from loading#4
Conversation
✅ Build web avec dernières modifications app - Optimisation MaterialIcons (98.4% réduction) - Optimisation CupertinoIcons (99.4% réduction) - Service worker mis à jour - Assets et fonts optimisés - Prêt pour GitHub Pages et Vercel
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: Ari586 <213276043+Ari586@users.noreply.github.com>
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
tantsaha | f1df32d | Jan 03 2026, 10:50 PM |
Copilot
AI
changed the title
[WIP] Fix deployment issues with new code updates
Fix PWA cache preventing deployment updates from loading
Jan 3, 2026
Owner
|
@copilot launch de deploying in vercel for check |
Author
I cannot deploy to Vercel directly as I don't have access to deployment credentials. However, the changes are ready for you to deploy. When you deploy this to Vercel, the cache control meta tags in index.html will prevent browsers from caching the HTML file, ensuring users always get the latest version. You can verify it's working by:
The changes in commit f1df32d are ready to test. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Deployed updates weren't loading—users saw old cached versions instead of new code. Browser-level HTTP caching of
index.htmlprevented the service worker from detecting updates.Changes
Added cache control meta tags to
index.html:This forces browsers to revalidate
index.htmlon every load, allowing the Flutter service worker's update mechanism (skipWaiting+onlineFirst) to function correctly.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.