Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Documenting page_cache_directory setting #3

merged 1 commit into from

2 participants


I added this gem to Rails 4 where you don't have page_cache_directory setting specified. Because I was getting errors I think it might be useful to document this.

@frodsan frodsan merged commit 937763e into rails:master

1 check passed

Details default The Travis build passed

Thanks! :smile:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 6, 2013
  1. @zigomir
This page is out of date. Refresh to see the latest.
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
Something went wrong with that request. Please try again.