select-your-own-seat

Expand History Expand History
Collapse History Collapse History

Opt out of preview caching

When re-visiting a seats#show page that’s already in the Turbolinks cache (like when un-selecting a seat from the <dialog> element), the <dialog> and map flash in a distracting way.

This commit configures Turbolinks to disable caching for reloading pages from the back-button triggered navigation stacks by setting the cache strategy to no-preview