class Rack::NonCache::Http11Filter
Public Class Methods
apply(headers)
click to toggle source
# File lib/rack/noncache/filters.rb, line 12 def self.apply(headers) headers['Cache-Control'] += 'no-cache, max-age=0, must-revalidate, ' \ 'no-store, private' headers['HTTP_PRAGMA'] = 'no-cache' end