--- title: "Get a Cache Instance" url: https://docs.catalyst.zoho.com/en/sdk/javascript/v1/cloudscale/cache/get-cache-instance/ description: "This page describes the method to perform operations in the Cache component." last_updated: 2026-09-09T10:45:38Z service: CloudScale type: general related_links: - name: "Catalyst CloudScale" url: /en/cloud-scale/ - name: "Cache Help Documentation" url: /en/cloud-scale/help/cache/introduction/ - name: "Java SDK Documentation" url: /en/sdk/java/v1/cloud-scale/cache/get-segment-instance/ - name: "Python SDK Documentation" url: /en/sdk/python/v1/cloud-scale/cache/get-component-instance/ - name: "REST API Documentation" url: /en/api/code-reference/cloud-scale/cache/insert-key-value-in-segment/#InsertKeyValueinCacheSegment repository: name: "Repository" url: https://github.com/catalystbyzoho/zcatalyst-sdk-js --- # Get a Cache Instance > **Note:** Ensure you have installed the [required package](https://docs.catalyst.zoho.com/en/sdk/javascript/v1/cloudscale/cache/overview/#prerequisites) 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. ```javascript const cache = new Cache(); ```