Home


Controlling offload with the persist-to-disk property

The storage and access of objects from disk involves serialization and de-serialization of objects. This feature comes at a higher cost, and should be taken into consideration when deciding what content should be persisted to disk.

It is possible for you to selectively cache content to the disk through cache policies that are defined in the cachespec.xml file, in particular the persist-to-disk property. The persist-to-disk property has two values: true or false. The default value is true. When this property is set to false, the cache entry is not written to the disk when overflow or a server shutdown occurs.

+

Search Tips   |   Advanced Search