Commit a25c405e00bafb192269b203c0449edfc9e648c6

Authored by Antonio Terceiro
1 parent 4688bc9c

ActionItem1055: use memcache in production environments

config/environments/production.rb
... ... @@ -17,3 +17,5 @@ config.action_view.cache_template_loading = true
17 17  
18 18 # Disable delivery errors, bad email addresses will be ignored
19 19 # config.action_mailer.raise_delivery_errors = false
  20 +
  21 +config.cache_store = :mem_cache_store, "localhost"
... ...
doc/README_FOR_APP.en
... ... @@ -37,6 +37,7 @@ special its possible that the requirements list above is not complete.
37 37  
38 38 === Setting up a production environment
39 39  
  40 +* install memcached. Study whether you need to raise the ammount of memory it uses for caching, depending on the demand you expect for your site.
40 41 * copy config/ferret_server.yml.dist to config/ferret_server.yml.dist
41 42 * configure the mongrel cluster: `mongrel_rails cluster::configure`
42 43 ** then edit config/mongrel_cluster.yml to suit your environment. Make sure your apache configuration matches the mongrel cluster configuration, specially in respect to the ports and numbers of mongrel instances.
... ...