Save a setting, sweep the cache
Change your color or sync GitHub, and every page your browser quietly preloaded gets thrown out. Click through to Profile and it wears the shade you just picked, not the one from last week.

You hover the Profile link, letting the browser fetch the page in the background, then pick Violet from the six colors and hit Save color. Click Profile and the ring around your avatar, the dot before your handle, the whole rail come up violet. Before this change they could come up in yesterday's orange, fetched before you ever touched the picker.
Credit robelsust, who wired the sweep into three spots. Saving a color, syncing from GitHub, and flipping follow suggestions in the sidebar, Hide or Undo, each now throw out every preloaded page. The suggestions switch is a cookie set to true or false, and it clears the cache in the same breath. The app already had a cache-clearing call for this. It was just robelsust aiming it at the settings that were going stale.
One gap. The Suggest other people button beside the list moves you to a new batch by bumping a different cookie, a round counter, and never sweeps. Pages preloaded before you pressed it can still hand you the old batch. Hide and Undo sweep. New suggestions do not.
Key files · #333
- resources/
js/ edit.tsxpages/ user-profile/ - resources/
js/ lane-picker.tsxcomponents/ - resources/
js/ use-who-to-follow.tshooks/ - resources/
js/ who-to-follow.tsxcomponents/ - app/
Http/ HandleInertiaRequests.phpMiddleware/ - app/
Http/ UserLaneController.phpControllers/ - app/
Http/ UserProfileController.phpControllers/ - app/
Actions/ UpdateUserProfile.php