Sign in Join
FPDoc Onlineexperiment

TAbstractResource.CacheData property

Member of TAbstractResourcepublicIn unit resource

Controls the copy-on-write behaviour of the resource

Declaration

pascal
property CacheData: Boolean read GetCacheData write SetCacheData;

Description

When CacheData is true, copy-on-write mechanism of RawData is enabled.

Setting CacheData to false forces the raw resource data to be loaded in memory without performing any caching.

By default, CacheData is true.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.