diff options
author | Aditya Chadha <aditya@sublucid.com> | 2009-02-24 00:30:02 -0500 |
---|---|---|
committer | Aditya Chadha <aditya@sublucid.com> | 2009-02-24 00:30:02 -0500 |
commit | 346ac0bba7cfbfbd0a7155163ca4125bc80ba463 (patch) | |
tree | 3ee22b5b41c20143d020008c0d19f19610e16afe /railties | |
parent | 3e7015b7967b355c0fb6868db11aeddf9b43ad74 (diff) | |
download | rails-346ac0bba7cfbfbd0a7155163ca4125bc80ba463.tar.gz rails-346ac0bba7cfbfbd0a7155163ca4125bc80ba463.tar.bz2 rails-346ac0bba7cfbfbd0a7155163ca4125bc80ba463.zip |
Add references
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/source/caching_with_rails.textile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/railties/guides/source/caching_with_rails.textile b/railties/guides/source/caching_with_rails.textile index d978fabe82..9736be8443 100644 --- a/railties/guides/source/caching_with_rails.textile +++ b/railties/guides/source/caching_with_rails.textile @@ -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 |