aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorPatricio Mac Adden <patriciomacadden@gmail.com>2012-10-13 16:19:58 -0300
committerPatricio Mac Adden <patriciomacadden@gmail.com>2012-10-13 16:19:58 -0300
commit91222f6b76a49148ae83734651b8369b2d233cae (patch)
tree345e3a3fef39c5afd969bc9a1472ae116ec19ac7 /guides
parenta6ddc395b3fbc2b2213a0120612eb46288554aaa (diff)
downloadrails-91222f6b76a49148ae83734651b8369b2d233cae.tar.gz
rails-91222f6b76a49148ae83734651b8369b2d233cae.tar.bz2
rails-91222f6b76a49148ae83734651b8369b2d233cae.zip
Fix a silly typo
Diffstat (limited to 'guides')
-rw-r--r--guides/source/caching_with_rails.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/caching_with_rails.md b/guides/source/caching_with_rails.md
index e4d2ecaba1..08f1ef879d 100644
--- a/guides/source/caching_with_rails.md
+++ b/guides/source/caching_with_rails.md
@@ -91,7 +91,7 @@ Or, you can set custom gzip compression level (level names are taken from `Zlib`
caches_page :image, :gzip => :best_speed
```
-NOTE: Page caching ignores all parameters. For example `/products?page=1` will be written out to the filesystem as `products.html` with no reference to the `page` parameter. Thus, if someone requests `/products?page=2` later, they will get the cached first page. A workaround for this limitation is to include the parameters in the page's path, e.g. `/productions/page/1`.
+NOTE: Page caching ignores all parameters. For example `/products?page=1` will be written out to the filesystem as `products.html` with no reference to the `page` parameter. Thus, if someone requests `/products?page=2` later, they will get the cached first page. A workaround for this limitation is to include the parameters in the page's path, e.g. `/products/page/1`.
INFO: Page caching runs in an after filter. Thus, invalid requests won't generate spurious cache entries as long as you halt them. Typically, a redirection in some before filter that checks request preconditions does the job.