diff --git a/lib/calligraphy/resource/file_resource.rb b/lib/calligraphy/resource/file_resource.rb index 6ea7b22..99ce347 100644 --- a/lib/calligraphy/resource/file_resource.rb +++ b/lib/calligraphy/resource/file_resource.rb @@ -585,7 +585,7 @@ module Calligraphy end def getetag(prop) - cache_key = ActiveSupport::Cache.expand_cache_key [@resource.etag, ''] + cache_key = ActiveSupport::Cache.expand_cache_key [etag, ''] prop.content = "W/\"#{Digest::MD5.hexdigest(cache_key)}\"" prop