-
-
Notifications
You must be signed in to change notification settings - Fork 111
Bypass updater local and CDN HTTP cache on check for updates #891
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
Closed
MineraleYT
wants to merge
8
commits into
TypeWhisper:main
from
MineraleYT:fix/sparkle-updater-cache-bypass
Closed
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
935aeb8
chore: update plugin detailsURL to point to TypeWhisper documentation
MineraleYT 04e4455
Merge branch 'TypeWhisper:main' into main
MineraleYT 6960e3d
Merge remote-tracking branch 'upstream/main'
MineraleYT 702e9d2
Merge branch 'TypeWhisper:main' into main
MineraleYT 3a7c789
Merge branch 'TypeWhisper:main' into main
MineraleYT f980d46
Merge branch 'TypeWhisper:main' into main
MineraleYT d69c6a2
Fix: Bypass updater local and CDN HTTP cache on check for updates
MineraleYT 31a760e
chore: update Sparkle to 2.9.4 and migrate to feedParameters for cach…
MineraleYT File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
TypeWhisper.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.
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.
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.
This is now a real Sparkle delegate callback, but it still does not bypass the CDN in front of the actual feed. I sent three requests to
https://typewhisper.github.io/typewhisper-mac/appcast.xmlwith different UUID values fornocache; GitHub Pages returned the same cached object for all three (x-cache: HITwith an identicalx-github-request-id). The query string is therefore not part of the effective cache key for this feed, so this changes every updater URL without making the appcast fresh.Please remove this cache-buster and solve freshness at the hosting/release layer, or move the feed to an endpoint whose cache behavior can be controlled. The fix needs an end-to-end check that can distinguish stale and newly published appcast content.