**Inheritance:**
java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum
```
public final class CacheType extends System.Enum
```

Specifies the cache type to use.
## Fields

| Field | Description |
| --- | --- |
| [Auto](#Auto) | Specifies auto cache type. |
| [CacheOnDiskOnly](#CacheOnDiskOnly) | The disk cache only. |
| [CacheInMemoryOnly](#CacheInMemoryOnly) | The in-memory cache only. |
### Auto {#Auto}
```
public static final int Auto
```


Specifies auto cache type. The auto cache scheme will try to cache in-memory first then on disk.

### CacheOnDiskOnly {#CacheOnDiskOnly}
```
public static final int CacheOnDiskOnly
```


The disk cache only.

### CacheInMemoryOnly {#CacheInMemoryOnly}
```
public static final int CacheInMemoryOnly
```


The in-memory cache only.

