module Turbo::DriveHelper
def turbo_exempts_page_from_cache
Pages that are more likely than not to be a cache miss can skip turbo cache to avoid visual jitter.
def turbo_exempts_page_from_cache provide :head, tag.meta(name: "turbo-cache-control", content: "no-cache") end
def turbo_exempts_page_from_preview
Specify that a cached version of the page should not be shown as a preview during an application visit.
def turbo_exempts_page_from_preview provide :head, tag.meta(name: "turbo-cache-control", content: "no-preview") end
def turbo_page_requires_reload
def turbo_page_requires_reload provide :head, tag.meta(name: "turbo-visit-control", content: "reload") end