CacheBox can be installed as a standalone framework or included with the latest ColdBox Platform release, so it is unnecessary if you are within a ColdBox application.
Adobe ColdFusion 2018+
Lucee 5+
You can leverage to install the standalone version of CacheBox with a simple command:
This will install CacheBox as a dependency in your application into a folder called cachebox. You can then leverage the standalone namespace within your application: cachebox.system.ioc.
You will need the following mapping that points to the folder you installed cachebox into:
This will ensure that the appropriate libraries can find each other.
Remember that this only applies to the standalone approach.
# Latest Version
box install cachebox
# Bleeding Edge
box install cachebox@bethis.mappings[ "/cachebox" ] = "path.to.cachebox";