rack-cachely 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/rack-cachely/context.rb +1 -1
- data/lib/rack-cachely/version.rb +1 -1
- metadata +1 -1
data/Gemfile.lock
CHANGED
data/lib/rack-cachely/context.rb
CHANGED
@@ -46,7 +46,7 @@ module Rack
|
|
46
46
|
return false unless (200...300).include?(status)
|
47
47
|
headers = results[1]
|
48
48
|
control = headers["Cache-Control"]
|
49
|
-
if /public/.match(control) && /max-age=(\d+)/.match(control) && !/\/assets\//.match(key.to_s)
|
49
|
+
if /public/.match(control) && /max-age=(\d+)/.match(control)# && !/\/assets\//.match(key.to_s)
|
50
50
|
@age = $1
|
51
51
|
return true
|
52
52
|
end
|
data/lib/rack-cachely/version.rb
CHANGED