mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Add references
This commit is contained in:
parent
3e7015b796
commit
346ac0bba7
1 changed files with 8 additions and 0 deletions
|
@ -80,6 +80,8 @@ end
|
|||
If you want a more complicated expiration scheme, you can use cache sweepers
|
||||
to expire cached objects when things change. This is covered in the section on Sweepers.
|
||||
|
||||
Note: Page caching ignores all parameters, so /products/list?page=1 will be written out to the filesystem as /products/list.html and if someone requests /products/list?page=2, they will be returned the same result as page=1, so be careful when page caching GET parameters in the URL!
|
||||
|
||||
h4. Action Caching
|
||||
|
||||
One of the issues with Page Caching is that you cannot use it for pages that
|
||||
|
@ -497,6 +499,12 @@ seriously considering optimizing their caching needs.
|
|||
|
||||
Also the new "Cache money":http://github.com/nkallen/cache-money/tree/master plugin is supposed to be mad cool.
|
||||
|
||||
h3. References
|
||||
* "RailsEnvy, Rails Caching Tutorial, Part 1":http://www.railsenvy.com/2007/2/28/rails-caching-tutorial
|
||||
* "RailsEnvy, Rails Caching Tutorial, Part 1":http://www.railsenvy.com/2007/3/20/ruby-on-rails-caching-tutorial-part-2
|
||||
* "ActiveSupport::Cache documentation":http://api.rubyonrails.org/classes/ActiveSupport/Cache.html
|
||||
* "Rails 2.1 integrated caching tutorial":http://thewebfellas.com/blog/2008/6/9/rails-2-1-now-with-better-integrated-caching
|
||||
|
||||
|
||||
h3. Changelog
|
||||
"Lighthouse ticket":http://rails.lighthouseapp.com/projects/16213-rails-guides/tickets/10-guide-to-caching
|
||||
|
|
Loading…
Reference in a new issue