Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [3e07f320c10b53ec21b947d949d0063e724c5fd8] by Jonathan del Strother

Revision 3e07f320c10b53ec21b947d949d0063e724c5fd8, committed by Repository · June 11th, 2008 @ 01:15 PM

Improve ActionCaching's format-handling

Make ActionCaching more aware of different mimetype formats.

It will now use request.format to look up the cache type, in addition to the path extension.

When expiring caches, the request format no longer affects which cache is expired.

Signed-off-by: Pratik Naik

http://github.com/rails/rails/co...

3 changed files

  • M actionpack/CHANGELOG
  • M actionpack/lib/action_controller/caching/actions.rb
  • M actionpack/test/controller/caching_test.rb