Skip to content

Commit 1cda58a

Browse files
Set expires_in to nil
1 parent 9e3e7d5 commit 1cda58a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/critical-path-css-rails.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module CriticalPathCss
55

66
def self.generate
77
CssFetcher.new.fetch.each do |route, css|
8-
Rails.cache.write(route, css, namespace: CACHE_NAMESPACE)
8+
Rails.cache.write(route, css, namespace: CACHE_NAMESPACE, expires_in: nil)
99
end
1010
end
1111

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module CriticalPathCSS
22
module Rails
3-
VERSION = '0.2.3'
3+
VERSION = '0.2.4'
44
PENTHOUSE_VERSION = '0.3.4'
55
end
66
end

0 commit comments

Comments
 (0)