Get a Cache Instance

JS SDK Repo
Note: Ensure you have installed the required package to use this SDK method.

You can get the cache component reference as shown below. This will not fire a server-side call. You will refer to this component instance in various code snippets of working with Cache.

copy
const cache = new Cache();

Last Updated 2026-09-09 16:15:38 +0530 IST