vdl-preload
Helps to optimise page loading, by pre-loading the required data.
Example
<vdl-preload scenarios="0,1,2" entities="MyEntity,MyScalar" load-attachments="true" load-parameters="true">
</vdl-preload>
Attributes
entities | A string attribute, which defines which will be pre-loaded for given scenarios. Can be either a single entity name string or a comma-separated entity names | ||
---|---|---|---|
load-attachments | A string attribute, which defines whether attachments should be pre-loaded. If "true", vdl will preload attachments for given scenarios. | ||
load-parameters | A string attribute, which defines whether parameters should be pre-loaded. If "true", vdl will preload parameters for given scenarios. | ||
scenarios | A string attribute, which defines which scenarios should be preloaded. Can be either a single scenario index, comma-separated scenario index list or a keyword "all". If "all" is specified, vdl-preload will be active for all of the current scenarios. |