aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2009-10-25 13:54:42 +0100
committerXavier Noria <fxn@hashref.com>2009-10-25 13:54:42 +0100
commit243cfceba58ea8ccd6e41be32a140da6cb888b3f (patch)
tree0cbd902d7ce3835fd83685aa94950d794d23139a /railties/guides/source
parentacde75c84abe5ae4be3c07bc1afdade78de7a9e8 (diff)
downloadrails-243cfceba58ea8ccd6e41be32a140da6cb888b3f.tar.gz
rails-243cfceba58ea8ccd6e41be32a140da6cb888b3f.tar.bz2
rails-243cfceba58ea8ccd6e41be32a140da6cb888b3f.zip
corrects typo in previous commit
Diffstat (limited to 'railties/guides/source')
-rw-r--r--railties/guides/source/caching_with_rails.textile4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/caching_with_rails.textile b/railties/guides/source/caching_with_rails.textile
index 067250e677..ac6f944457 100644
--- a/railties/guides/source/caching_with_rails.textile
+++ b/railties/guides/source/caching_with_rails.textile
@@ -67,7 +67,7 @@ If you want a more complicated expiration scheme, you can use cache sweepers to
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. Be careful when page caching GET parameters in the URL!
-INFO: Page caching runs in an after filter. Thus, invalid requests won't generate spurious cache entries as long as you halt them. Tipically, a redirection in some before filter that checks request preconditions does the job.
+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.
h4. Action Caching
@@ -100,7 +100,7 @@ You can modify the default action cache path by passing a +:cache_path+ option.
Finally, if you are using memcached, you can also pass +:expires_in+. In fact, all parameters not used by +caches_action+ are sent to the underlying cache store.
-INFO: Action caching runs in an after filter. Thus, invalid requests won't generate spurious cache entries as long as you halt them. Tipically, a redirection in some before filter that checks request preconditions does the job.
+INFO: Action 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.
h4. Fragment Caching