Get a Cache Instance

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-07-02 14:51:41 +0530 IST