Redis plugin for core object and webskin caching
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Redis Plugin

NOTE: This plugin is compatible with FarCry 7.1.0 and over.

Redis is available under LGPL and compatible with the open source and commercial licenses of FarCry Core

Redis replaces the default object and webskin caching mechanism in Core with an external redis server. This is an excellent approach for moving memory load out of ColdFusion and off the application server. A key benefit for sites running in high availability environments is that all the application servers in the cluster can be made to share a central cache.

This plugin also works with Amazon ElastiCache.

Server overview Server breakdown Application breakdown Type breakdown


  1. Install redis
  2. Add this plugin to the project
  3. Restart your application
  4. Open the "Redis" config
  5. Copy in your server details, in the form "" (if you don't understand the other settings, it is safe to leave the default values)
  6. Save the config
  7. Restart the application
  8. Test

Testing / Debugging


The plugin logs status and errors to "redis.log" using cflog. This will sometimes have information pertaining to the plugin's ability to access the redis server.


The redis reports are accessible in the Webtop under Admin -> General Admin -> Application Settings -> Redis Summary.

The main screen has information about the general health of the redis servers (or clusters, in the case of ElastiCache). You can drill down to a specific server or application by clicking "overview" or "this application".

NOTE: the information provided on the drill-down pages is aquired via an undocumented feature of redis which the developers are planning to deprecate.

NOTE: generating the drill-down reports can have a performance impact on the application and redis servers. If you have more than 100 000 items in your cache, you may find that the reports time out.

Cache Invalidation

Updating or restarting the application does not clear the cache. See the following sections for the different ways to invalidate cache data.

COAPI deployments

Content type data is cache keys include the last schema change date for that type. Deploying schema updates automatically causes the app to stop using previous cache items.

NOTE: other servers will conetinue to use the old cache items until you update the application to refresh the schema change dates. This allows you to deploy changes on one server without breaking the site on another unupdated server.

Rebuild Site

This option, in the Tray, invalidates every key used by the site, and will affect every server using the same Redis server.

Fine Grained

The Redis page in the webtop (Admin -> General Admin -> Application Settings -> Redis Summary) has options for manually triggering invalidation either across the entire application or for specific sections of the cache.