instance method turbo_exempts_page_from_cache

Ruby on Rails 1.3.3

Since v1.3.3 Last seen in v2.0.23

Available in: v1.3.3 v1.4.0 v1.5.0 v2.0.23

Signature

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. Cannot be used along with turbo_exempts_page_from_preview.

Source
# File app/helpers/turbo/drive_helper.rb, line 15
  def turbo_exempts_page_from_cache
    provide :head, tag.meta(name: "turbo-cache-control", content: "no-cache")
  end

Defined in app/helpers/turbo/drive_helper.rb line 15 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Turbo::DriveHelper

Type at least 2 characters to search.

↑↓ navigate · open · esc close