Snapback cache

Languages and libraries

javascript library

SHOW HN2016

Snapback cache

An infinite scrolling feed cache to keep things nice when users return

m.signalvnoise.com

#infinite scroll#client cache#scroll position#back button

42points
21comments
#830of 2,264 in 2016
Top 37%of 2016 by points

How HN took it

QuietFewer than 5 comments about the project

0 positive, 2 neutral or asking, 0 mixed, 2 critical, out of 4 comments about the project.

Idea: 0 for, 2 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Solves a real back-button problem in feeds

    From 2 comments
    • > Almost all of them suffer from the same problem. If you click on something in the feed that brings you to a new page, when you hit the back button or try to return to that…
      mchahn on HN
    • If you had a publicly visible site that you wanted to be crawled, then having a real url would be pretty important. But for something like Highrise, where it's dark to google and…
      justinph on HN

Objections

  • Infinite scroll is a poor pattern that hurts findability and bookmarks

    From 3 comments
    • I've never figured out what the problem was that infinite-scroll was supposed to fix. Unfucking the Back button is nice, but it feels kind of like expecting praise because you've…
      PhasmaFelis on HN
    • Couldn't agree with this more. Infinite scroll and expandable sub-lists on index pages make it impossible to use those pages in a meaningful way. If there is ever any value to…
      takno on HN
    • Anyone who has encountered a book is familiar with the concept of pages. I doubt that people would prefer their books printed on a single strip of paper. Why do the same for…
      cyphar on HN
  • Opening links in new tabs already works around the problem

    From 2 comments
    • This is why I usually Ctrl + click to open link in new tab when scrolling through an infinite scroll.
      theseatoms on HN
    • I use middle mouse click: same thing.
      daurnimator on HN

Questions

  • Does everyone else lose their place in feeds?

    From 1 comment
    • > Almost all of them suffer from the same problem. If you click on something in the feed that brings you to a new page, when you hit the back button or try to return to that…
      mchahn on HN

Alternatives named

  • Ctrl/middle click to open in new tabs

    From 2 comments
    • This is why I usually Ctrl + click to open link in new tab when scrolling through an infinite scroll.
      theseatoms on HN
    • I use middle mouse click: same thing.
      daurnimator on HN
  • Real URLs per page

    From 1 comment
    • I just use real URLs that resolve when you navigate back to them... https://www.zadieheimlich.com (terrible use case as clicking a heading takes you to the same thing you see…
      kingkool68 on HN
  • Paging

    From 1 comment
    • Paging is an implementation detail that's forced on users, like flipping the cassette to side B. It's really great for reading a stream of content without having to think about…
      michaeldwan on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/11305758)