Export (0) Print
Expand All

ScriptingScriptResourceHandlerSection.EnableCaching Property

Gets or sets whether caching is enabled for script files that are embedded as resources in an assembly.

Namespace:  System.Web.Configuration
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

[<ConfigurationPropertyAttribute("enableCaching", DefaultValue = true)>]
member EnableCaching : bool with get, set

Property Value

Type: System.Boolean
true if caching is enabled for script files that are embedded as resources in an assembly; otherwise, false. The default is true.

The EnableCaching property gets or sets the value for caching the results of the embedded script file, for caching any potential localization objects, and for caching scripts.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5
Show:
© 2015 Microsoft