
## Cache class

Contains cache settings.



The Cache type exposes the following members:

### Properties
| Property | Description |
| :- | :- |
| [exact_reallocate_only](/cad/python-net/aspose.cad/cache/exact_reallocate_only) | Gets or sets a value indicating whether reallocation should be exact or not. If reallocation is non exact the performance should be higher. |
| [cache_folder](/cad/python-net/aspose.cad/cache/cache_folder) | Gets or sets the cache folder. |
| [allocated_memory_bytes_count](/cad/python-net/aspose.cad/cache/allocated_memory_bytes_count) | Gets the allocated in-memory bytes count. |
| [allocated_disk_bytes_count](/cad/python-net/aspose.cad/cache/allocated_disk_bytes_count) | Gets the allocated disk bytes count. |
| [max_memory_for_cache](/cad/python-net/aspose.cad/cache/max_memory_for_cache) | Gets or sets the maximum available memory for cache in memory. The value specified is megabytes count. |
| [max_disk_space_for_cache](/cad/python-net/aspose.cad/cache/max_disk_space_for_cache) | Gets or sets the maximum available disk space for cache. The value specified is megabytes count. |
| [cache_type](/cad/python-net/aspose.cad/cache/cache_type) | Gets or sets the cache scheme used. |


### Methods
| Method | Description |
| :- | :- |
| [set_defaults](/cad/python-net/aspose.cad/cache/set_defaults/#) | Sets the [`Cache`](/cad/python-net/aspose.cad/cache) settings to defaults. |



### See Also
* module [`aspose.cad`](..)
* class [`Cache`](/cad/python-net/aspose.cad/cache)
