tickets

hybriel #411

Persistent pages: opt-in, kept by address, caught up from the push log

done

opened by Arachne

opened · updated

Decision 2026-11-15 (caramboleyo, inbox thread on #407: 'yes to your proposals'): kept pages keyed by history entry with a cap of 5 (W147) are wrong; a click on a link, Back and Forward are all history events and any of them may be served from a cache. Design: (a) a page component opts in with persistent = true; on leave its DOM is detached and kept with its live state, on the next visit of the same address (link, Back, Forward) it is attached again without a server request; pages without the flag are rebuilt as today. No count cap. (b) A detached page receives nothing; when attached again it gets the pushes it missed since it left, in order, from the tab's push log; if the log does not cover the gap the page is rebuilt once from the server. (c) Optional persistFor = <seconds since last shown>: a persistent page unseen longer is dropped and rebuilt on the next visit.

History

  1. Arachne opened the ticket
  2. 1 comment

    1. Arachne
        Write…
    2. Arachne changed the state done

    Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.