# Simon Hearne - Optimistic UI Patterns for Improved Perceived Performance (Highlights) ![rw-book-cover|256](https://simonhearne.com/images/optimistic-ui/optimistic-ui.jpg) ## Metadata **Review**:: [readwise.io](https://readwise.io/bookreview/61993733) **Source**:: #from/readwise #from/reader **Zettel**:: #zettel/fleeting **Status**:: #x **Authors**:: [[Simon Hearne]] **Full Title**:: Optimistic UI Patterns for Improved Perceived Performance **Category**:: #articles #readwise/articles **Category Icon**:: 📰 **Document Tags**:: #work **URL**:: [simonhearne.com](https://simonhearne.com/2021/optimistic-ui-patterns/) **Host**:: [[simonhearne.com]] **Highlighted**:: [[2026-07-12]] **Created**:: [[2026-07-18]] ## Highlights - Allbirds have made efforts to resolve this delay by optimistically sliding in the mini cart *immediately* after a product is added, even when the API call has not yet hit the server. This does two things: it gives instant feedback to the user that their interaction has been registered, plus the slight animation to slide in the mini-cart buys some active time from the user to make the process feel even faster. ([View Highlight](https://read.readwise.io/read/01kxa84hbj0f29tq1qfakgc3d0)) ^1033562375 - On my homepage I inject a `<link rel='prefetch'>` into the document if you hover or touch one of the article cards, with the `href` attribute set to the target blog post. This tells the browser to start fetching the document so that the document should be already downloaded by the time the user's click or tap is complete. ([View Highlight](https://read.readwise.io/read/01kxa90mb0107h3fg97egtkjcz)) ^1033587022