From: Tom Hughes Date: Mon, 23 Sep 2013 09:07:23 +0000 (+0100) Subject: Configure the page cache X-Git-Tag: live~4709 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/b0bc04abf1cc17228b114cc60021e42f8dcdd51e?hp=537cd6a52c104c909ed777a1be3cf8cf85e35396 Configure the page cache --- diff --git a/config/initializers/page_cache.rb b/config/initializers/page_cache.rb new file mode 100644 index 000000000..e00d1c2e0 --- /dev/null +++ b/config/initializers/page_cache.rb @@ -0,0 +1,2 @@ +# Set the page cache directory +Rails.application.config.action_controller.page_cache_directory = "#{Rails.root.to_s}/public"