FORGEBOX Enterprise 🚀 - Take your ColdFusion (CFML) Development to Modern Times! Learn More...

Ortus Redis Cache

v1.4.0+2303 Public

Ortus Redis Extension

The Ortus Redis Extension is a native Lucee Extension that allows your CFML server to connect to a Redis server/cluster and leverage it for built-in caching, session storage, and NoSQL 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

Requirements

  • Lucee 5.1.0 and above
  • Redis 4.0.X and above

Features In A Nutshell

  • Add Redis native functionality to any Lucee server
  • Install at server level (Available to all contexts)
  • Create Cache connections in the Lucee web administrator or via Application.cfc to connect to any network-accessable Redis cluster
  • Set and get objects from Redis via standard CFML functions and tags (cachePut(), cacheGet(), cfcache action="get|put")
  • Fully supports all built-in Lucee cache functions including wildcard filters
  • Seamlessly distribute storage of the following to any Redis Cluster ** Lucee session storage ** Lucee client storage ** Lucee Ram resouces (ram://...)
  • Seamlessly cache the following to any timeout-sensitive Redis key ** Results of database queries ** Results of deterministic functions ** Complex or simple objects in your application's code ** Cached templates (cfcache action="content|cache|serverCache")
  • Extremely lightweight and fast
  • Native Redis functions: RedisGetConnectionPool( cacheName ), RedisGetProvider( cacheName )

Changelog

1.4.0

  • New Features
    • Added a log4j bridge and custom appender so all log messages from the Redis library will not go out to the out logs in Lucee
  • Improvements
    • Added all members of the RedisConnection class to be public/static so they can be inspected and reused
    • Added a getConnectionKeys() in the RedisConnection class to see which caches are configured and how
    • Added RuntTimeExceptions and IOExceptions whenever a Redis connection cannot be made to improve errors
    • Added more context when exceptions happen to the error messages
    • Converted all connection pool access to try's with resources for auto-closing and better code visibility
    • Coverted all valueList() and entryLIst() to leverage parallel streams for performance
  • Bugs
    • Fixes an issue which caused the extension to fail on Lucee v5.2.9 and v5.3.x

1.3.0

  • Added ability to set the following new settings on a cache connection:
    • Timeout
    • use SSL
    • Password
    • Max Connections
    • Max Idle Connections

1.2.0

  • Init methods on the cache constructor are not static - https://ortussolutions.atlassian.net/browse/LRE-1
  • Auto publishing
  • S3 Publishing automated
  • Added more verbose logging
  • Added more logging for exception handling
  • Major fix for session expirations when using session clusters with Lucee
  • Removed tests source from final package to reduce binary size

1.1.0

  • Minor fixes on Logging

Here are all the versions for this package. Please note that you can leverage CommandBox package versioning to install any package you like. Please refer to our managing package version guide for more information.

Version Created Last Update Published By Stable Actions
Current
1.4.0+2303 Nov 06 2019 09:27 AM Nov 06 2019 09:27 AM
Version History
1.4.0-snapshot Sep 30 2019 09:28 AM Sep 30 2019 09:28 AM
1.3.0+2190 Sep 30 2019 09:17 AM Sep 30 2019 09:17 AM
1.3.0-snapshot Jun 18 2019 11:27 AM Jun 18 2019 11:27 AM
1.2.0+1547 Mar 05 2019 09:03 AM Mar 05 2019 09:03 AM
1.2.0-snapshot Feb 25 2019 09:42 AM Feb 25 2019 09:42 AM
1.0.0 Mar 09 2018 06:01 PM Mar 09 2018 06:01 PM

 

  •   Ortus Solutions
  • Published
  • 1.4.0+2303 is the latest of 7 release(s)
    Published
  • Published on Nov 06 2019 09:27 AM
Add https://forgebox.io to the Lucee Admin
No collaborators yet.
   
  • Mar 09 2018 06:01 PM
  • Nov 06 2019 09:27 AM
  • 797
  • 837
  • 3,324