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)]
public bool EnableCaching { 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
Available since 3.5
Return to top
Show: