---
title: totalCacheFolderSize
framework: metrickit
role: symbol
role_heading: Instance Property
path: metrickit/mxdiskspaceusagemetric/totalcachefoldersize
---

# totalCacheFolderSize

The total size of your application’s cache folder.

## Declaration

```swift
var totalCacheFolderSize: Measurement<UnitInformationStorage> { get }
```

## Discussion

Discussion The value of this metric represents total size of cachesDirectory. Placing files in the appropriate directories, such as the cachesDirectory and temporaryDirectory, allows the system to manage and purge content when necessary, ensuring optimal disk space utilization and a better experience (see File System Basics).

## See Also

### Reading file sizes

- [totalBinaryFileSize](metrickit/mxdiskspaceusagemetric/totalbinaryfilesize.md)
- [totalCloneSize](metrickit/mxdiskspaceusagemetric/totalclonesize.md)
- [totalDataFileSize](metrickit/mxdiskspaceusagemetric/totaldatafilesize.md)
