These are chat archives for locomotivecms/v3

26th
Apr 2017
Manu
@manuchap
Apr 26 09:23

On the same subject, I'm on heroku which offers a free caching service called memcashier (using memcache). Can I enable it and do I need to un-comment on of these lines in production.rb:

  # Enable Rack::Cache to put a simple HTTP cache in front of your application
  # Add `rack-cache` to your Gemfile before enabling this.
  # For large-scale production use, consider using a caching reverse proxy like
  # NGINX, varnish or squid.
  # config.action_dispatch.rack_cache = true

FYI just activating it makes a difference on this site ( loading time 679 -> 485ms).

Nikolay Bonev
@DonKoko
Apr 26 09:31
nice
Nikolay Bonev
@DonKoko
Apr 26 11:49
has anyone managed to make editable fields work inside snippets and still use caching?