Sha256: 3812ef6ecb8a12eb475ec422b8a4b9b187d0a32e7304e30367c9556101b2bd94

Contents?: true

Size: 272 Bytes

Versions: 11

Compression:

Stored size: 272 Bytes

Contents

module Spree
  class HomeController < Spree::StoreController
    include Spree::CacheHelper

    respond_to :html

    def index
      if http_cache_enabled?
        fresh_when etag: store_etag, last_modified: store_last_modified, public: true
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
spree_frontend-4.2.7 app/controllers/spree/home_controller.rb
spree_frontend-4.2.6 app/controllers/spree/home_controller.rb
spree_frontend-4.2.5 app/controllers/spree/home_controller.rb
spree_frontend-4.2.4 app/controllers/spree/home_controller.rb
spree_frontend-4.2.3.1 app/controllers/spree/home_controller.rb
spree_frontend-4.2.3 app/controllers/spree/home_controller.rb
spree_frontend-4.2.2 app/controllers/spree/home_controller.rb
spree_frontend-4.2.1 app/controllers/spree/home_controller.rb
spree_frontend-4.2.0 app/controllers/spree/home_controller.rb
spree_frontend-4.2.0.rc5 app/controllers/spree/home_controller.rb
spree_frontend-4.2.0.rc4 app/controllers/spree/home_controller.rb