prepare_cache_control!() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/http/cache.rb, line 66
        def prepare_cache_control!
          @cache_control = {}
          @etag = self["ETag"]

          if cache_control = self["Cache-Control"]
            cache_control.split(/,\s*/).each do |segment|
              first, last = segment.split("=")
              @cache_control[first.to_sym] = last || true
            end
          end
        end
Register or log in to add new notes.