Created
May 15, 2014 15:26
-
-
Save monnoval/dd1832faa2279f8a1ff7 to your computer and use it in GitHub Desktop.
Prevent browser cache code for Middleman
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/ Prevent browser cache | |
%meta{:content => "max-age=0", :http => {:equiv => "cache-control"}} | |
%meta{:content => "no-cache", :http => {:equiv => "cache-control"}} | |
%meta{:content => "0", :http => {:equiv => "expires"}} | |
%meta{:content => "Tue, 01 Jan 1980 1:00:00 GMT", :http => {:equiv => "expires"}} | |
%meta{:content => "no-cache", :http => {:equiv => "pragma"}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment