Repository navigation
Invalidate prefetched pages after settings updates - #333
Merged
nunomaduro merged 1 commit intoOct 17, 2026
Merged
Conversation
chrismessina
added a commit
to chrismessina/dev-null.sh
that referenced
this pull request
Oct 23, 2026
#000 and #000000 are black, and #333333 is gray, but they showed as plain text because a color needed a letter. Issue numbers never start with a zero and aren't 6 or 8 digits long, so those count as colors now, while dev-null-sh#123 and dev-null-sh#333 still stay plain. The pattern also spells its zero-width characters as escapes instead of the invisible characters themselves. Co-Authored-By: Claude Opus 5.5 <[email protected]>
chrismessina
added a commit
to chrismessina/dev-null.sh
that referenced
this pull request
Oct 23, 2026
#000 and #000000 are black, and #333333 is gray, but they showed as plain text because a color needed a letter. Issue numbers never start with a zero and aren't 6 or 8 digits long, so those count as colors now, while dev-null-sh#123 and dev-null-sh#333 still stay plain. The pattern also spells its zero-width characters as escapes instead of the invisible characters themselves. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Changing follow suggestions, saving a color, or syncing a GitHub profile can leave older Inertia prefetch responses cached. Navigating to a previously prefetched page then displays stale settings until a hard reload.
For example, hovering the Profile navigation link, saving a new color, and opening Profile restores the old avatar color.
This change clears the prefetch cache:
It uses the existing
router.flushAll()pattern and also prevents outstanding prefetch responses from repopulating the cache with stale data.Validation:
Browser verification used a disposable database and mocked GitHub responses. The local browser harness is not included in this PR.