Components
← All components

Before Cache Reset

stimeo--reset-before-cache

Tidies transient state before a page is remembered, so going back never lands mid-interaction.

  • Core
  • Rails / Turbo

Turbo remembers a page so it can show it again instantly when you go back. It also remembers the open menu, the half-typed value and the notice you never dismissed as well, so the restored page looks frozen part-way through something. This tidies that transient state away just before the page is remembered. What to tidy is declared in your markup: remove these attributes, remove these classes, reset this form, put this one field back the way it was written, hide this again. One of these on the page covers everything within its scope.

running

Open the details, type a value, and show the toast — then simulate the cache.

Open me

This panel is open. After the cache reset it returns to closed.

Keyboard

This component has no keyboard interactions of its own.