Skip to content

Commit 66d4aa3

Browse files
committed
README tweaks [ci skip]
1 parent 5066dc3 commit 66d4aa3

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ files that the web server can serve directly:
1111
2. Its response is calculated and stored in a file _F_.
1212
3. Next time _E_ is requested, the web server sends _F_ directly.
1313

14+
That applies only to GET or HEAD requests whose reponse code is 200, the rest
15+
are ignored.
16+
1417
Unlike caching proxies or other more sophisticated setups, page caching results
1518
in a dramatic speed up while being dead simple at the same time. Awesome
1619
cost/benefit.
@@ -23,10 +26,9 @@ This technique, however, is only suitable for pages that do not need to go
2326
through your Rails stack, precisely. For example, content management systems
2427
like wikis have typically many pages that are a great fit for this approach, but
2528
account-based systems where people log in and manipulate their own data are
26-
often less likely candidates. As a use case you can check, the [application that
27-
gives credit to contributors to Ruby on
28-
Rails](https://contributors.rubyonrails.org/) makes heavy use of page caching.
29-
Its source code is [here](https://github.com/rails/rails-contributors).
29+
often less likely candidates. As a use case you can check, [Rails
30+
Contributors](https://contributors.rubyonrails.org/) makes heavy use of page
31+
caching. Its source code is [here](https://github.com/rails/rails-contributors).
3032

3133
It is not all or nothing, though, in HTML cached pages JavaScript can still
3234
tweak details here and there dynamically as a trade-off.

0 commit comments

Comments
 (0)