Permalink
Browse files

Merge pull request #342 from tehpeh/edit-readme

Slight changes to wording regarding caching.
  • Loading branch information...
2 parents 7695c24 + 8d5fd6a commit 9ac30d52bf12c49e069341aeb8237a2ab4bdd91c @rkh rkh committed Aug 26, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.rdoc
View
@@ -980,7 +980,7 @@ If you are using the +expires+ helper to set the corresponding header,
expires 500, :public, :must_revalidate
end
-To properly use caches, you should consider using +etag+ and +last_modified+.
+To properly use caches, you should consider using +etag+ or +last_modified+.
It is recommended to call those helpers *before* doing heavy lifting, as they
will immediately flush a response if the client already has the current
version in its cache:
@@ -998,7 +998,7 @@ It is also possible to use a
etag @article.sha1, :weak
These helpers will not do any caching for you, but rather feed the necessary
-information to your cache. If you are looking for a quick caching solutions,
+information to your cache. If you are looking for a quick reverse-proxy caching solution,
try {rack-cache}[http://rtomayko.github.com/rack-cache/]:
require "rack/cache"

0 comments on commit 9ac30d5

Please sign in to comment.