
**Summary:** Contains cache settings.

**Module:** [aspose.psd](/psd/python-net/aspose.psd/)

**Full Name:** aspose.psd.Cache

**Aspose.PSD Version:** 24.12.0

## **Properties**
| **Name** | **Type** | **Access** | **Description** |
| :- | :- | :- | :- |
| allocated_disk_bytes_count [static] | long | r | Gets the allocated disk bytes count. |
| allocated_memory_bytes_count [static] | long | r | Gets the allocated in-memory bytes count. |
| cache_folder [static] | string | r/w | Gets or sets the cache folder. |
| cache_type [static] | [CacheType](/psd/python-net/aspose.psd/cachetype) | r/w | Gets or sets the cache scheme used. |
| exact_reallocate_only [static] | bool | r/w | Gets or sets a value indicating whether reallocation should be exact or not. If reallocation is non exact the performance should be higher. |
| max_disk_space_for_cache [static] | int | r/w | Gets or sets the maximum available disk space for cache. The value specified is megabytes count. |
| max_memory_for_cache [static] | int | r/w | Gets or sets the maximum available memory for cache in memory. The value specified is megabytes count. |
## **Methods**
| **Name** | **Description** |
| :- | :- |
| set_defaults() | Sets the [Cache](/psd/python-net/aspose.psd/cache/) settings to defaults. |


