Sitecore 5.0 API

Settings.XslCaching Property

Indicates if xsl caching is enabled.

[Visual Basic]
Public Shared ReadOnly Property XslCaching As Boolean
[C#]
public static bool XslCaching {get;}

Property Value

Default value: true.

Remarks

If true, compiled xsl files will be cached in memory, so that subsequent references will not cause a new compilation. This improves performance significantly.

If the original xsl file is modified, the cached copy will be removed from memory and a compilation will occur.

If false, xsl files will be compiled every time they are used.

See Also

Settings Class | Sitecore.Configuration Namespace