Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Merge pull request #3 from zigomir/master

Documenting page_cache_directory setting
  • Loading branch information...
commit 937763e7f37063ffbc96a600ba889fc9e953b8e8 2 parents 446fedb + 5ad25ef
Francesco Rodríguez authored
Showing with 4 additions and 0 deletions.
  1. +4 −0
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.