lib/scrivito/cms_backend.rb in scrivito_sdk-1.6.0.rc1 vs lib/scrivito/cms_backend.rb in scrivito_sdk-1.6.0.rc2

- old
+ new

@@ -169,15 +169,12 @@ def self.request_blob_datas_from_backend(id, options) @query_counter ||= 0 @query_counter += 1 - case - when transformation_definition = options[:transformation_definition] + if transformation_definition = options[:transformation_definition] CmsRestApi.get("blobs/#{id}/transform", transformation: transformation_definition) - when options[:no_cache] - CmsRestApi.get("blobs/#{id}/no_cache") else CmsRestApi.get("blobs/#{id}") end end private_class_method :request_blob_datas_from_backend @@ -199,13 +196,9 @@ def self.blob_data_cache_key(id, access, verb, options) cache_key = "blob_data/#{id}/#{access}/#{verb}" if transformation_definition = options[:transformation_definition] cache_key << "/#{transformation_definition.to_query}" - end - - if options[:no_cache] - cache_key << '/no_cache' end cache_key end private_class_method :blob_data_cache_key