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