BoxLang 🚀 A New JVM Dynamic Language Learn More...
Ortus Redis Cache
(v2.0.0-snapshot)
The Ortus Redis Extension is a **native** Lucee Extension that allows your CFML server to connect to a Redis server or a Redis Cluster and leverage it for built-in caching, session storage, Pub/Sub Messaging, and document storage.
Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster. Learn More
Application.cfc
to connect to any network-accessable Redis clustercachePut(), cacheGet(), cfcache action="get|put"
)cfcache action="content|cache|serverCache"
)RedisGetCluster( cacheName )
RedisGetClusterNodes( cacheName )
RedisGetConnectionPool( cacheName )
RedisGetProvider( cacheName )
RedisPublish( channel, message, cacheName )
RedisSubscribe( subscriber, channels, cacheName )
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
New Features
Improvements
RedisConnection
class to be public/static so they can be inspected and reusedgetConnectionKeys()
in the RedisConnection
class to see which caches are configured and howRuntTimeExceptions and IOExceptions
whenever a Redis connection cannot be made to improve errorsvalueList()
and entryLIst()
to leverage parallel streams for performanceBugs
$
install 5C558CC6-1E67-4776-96A60F9726D580F1
-Dlucee-extensions=5C558CC6-1E67-4776-96A60F9726D580F1