<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[`MetadataCache`](MetadataCache) › [`getCache`](MetadataCache/getCache)
## MetadataCache.getCache() method
**Signature:**
```typescript
getCache(path: string): CachedMetadata | null;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| <code>path</code> | <code>string</code> | |
**Returns:**
[`CachedMetadata`](CachedMetadata)` | null`