This project is archived and is in readonly mode.

Changeset [5a6c17bd84bbc695f38cf42908c4fb22247030f0] by Yehuda Katz

August 10th, 2009 @ 11:55 PM

More perf work:

  • Move #set_cookie and #delete_cookie inline to optimize. These optimizations should almost certainly be sent back upstream to Rack. The optimization involves using an ivar for cookies instead of indexing into the headers each time.
  • Was able to use a bare Hash for headers now that cookies have their own joining semantics (some code assumed that the raw cookies were an Array).
  • Cache blankness of body on body=
  • Improve expand_cache_key for Arrays of a single element (common in our case)
  • Use a simple layout condition check unless conditions are used
  • Cache visible actions
  • Lazily load the UrlRewriter
  • Make etag an ivar that is set on prepare! http://github.com/rails/rails/co...

Committed by Yehuda Katz

  • M actionpack/lib/abstract_controller/layouts.rb
  • M actionpack/lib/action_controller/metal/compatibility.rb
  • M actionpack/lib/action_controller/metal/hide_actions.rb
  • M actionpack/lib/action_controller/metal/url_for.rb
  • M actionpack/lib/action_controller/testing/process.rb
  • M actionpack/lib/action_controller/testing/test_case.rb
  • M actionpack/lib/action_dispatch/http/request.rb
  • M actionpack/lib/action_dispatch/http/response.rb
  • M actionpack/lib/action_view/test_case.rb
  • M actionpack/test/controller/caching_test.rb
  • M activesupport/lib/active_support/cache.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>