Module: NoCache

Defined in:
lib/no-cache.rb,
lib/no-cache/version.rb

Defined Under Namespace

Modules: Extension

Constant Summary collapse

HEADERS =
{
  "Cache-Control" => "private, no-store, no-cache, max-age=0, must-revalidate, post-check=0, pre-check=0",
  "Pragma"        => "no-cache",
  "Expires"       => "Fri, 01 Jan 1970 00:00:00 GMT"
}.freeze
VERSION =
"1.0.1"

Class Method Summary collapse

Class Method Details

.headersObject



12
13
14
# File 'lib/no-cache.rb', line 12

def headers
  HEADERS
end