Browse files

added page_cache_directory setting

  • Loading branch information...
1 parent 446fedb commit 5ad25efe00e47c4f85f04c1543dd8edde42f8998 @zigomir zigomir committed Apr 6, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.md
View
4 README.md
@@ -30,6 +30,10 @@ treated the same. Content management systems -- including weblogs and wikis --
have many pages that are a great fit for this approach, but account-based systems
where people log in and manipulate their own data are often less likely candidates.
+First you need to set `page_cache_directory` in your configuration file:
+
+ config.action_controller.page_cache_directory = "#{Rails.root.to_s}/public/deploy"
+
Specifying which actions to cache is done through the `caches_page` class method:
class WeblogController < ActionController::Base

0 comments on commit 5ad25ef

Please sign in to comment.