Forum: Radiant CMS How do you configure Rack::Cache in Radiant?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
E4f8e60d8db78514931ab6ff4073ab4f?d=identicon&s=25 Jason Fox (jfoxny)
on 2009-10-01 18:02
I'd like to use memcached as the backend storage for Radiant's cache
(v0.8.1), however, I haven't been able to find documentation on how to
configure the backend store.  I know that Radiant uses Rack::Cache now
and I've read how to configure Rack::Cache itself, but, I haven't been
able to figure out how to do it from "within" Radiant.

I found an old post from around the time when Rack::Cache was introduced
that said you can put something like this in your environment:

# environment.rb
    :verbose => true, # should be false in real life
    :metastore => "memcached://localhost:11211/radiant/meta",
    :entitystore => "memcached://localhost:11211/radiant/entity")

Which I tried, but, Radiant continued to use the filesystem as it's
cache store, i.e., it wrote it's cache files to RAILS_ROOT/tmp/cache.  I
also noticed that there is a radiant_config_cache.txt file in
RAILS_ROOT/tmp, but, I'm not sure what if anything should go in there.

Any help would be much appreciated.

Thanks in advance,
This topic is locked and can not be replied to.