Skip to content
This repository has been archived by the owner on Jul 28, 2018. It is now read-only.

Allow pages to say they don't want to be cached #493

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 19, 2015

  1. Allow pages to say they don't want to be cached

    Add a data-no-turbolinks-cache attribute to any tag, and the entire page won't be cached.
    
    This is useful in situations where the page contains elements such as video tags that need to be rendered using video.js, which aren't compatible with being stored in the cache.
    
    You could use data-no-turbolink to prevent links on the page from using turbolinks, but that's not really what we're after.
    calvincorreli committed Mar 19, 2015
    Configuration menu
    Copy the full SHA
    0973724 View commit details
    Browse the repository at this point in the history