 | HandlebarsViewEngineViewsSlidingCacheTime Property |
The length of time that compiled views are cached after last access. Set this to to disable caching. Default is 5 minutes.
Namespace: HandlebarsDotNet.MvcAssembly: HandlebarsDotNet.Mvc (in HandlebarsDotNet.Mvc.dll) Version: 1.0.0-beta
Syntaxpublic virtual TimeSpan ViewsSlidingCacheTime { get; set; }Public Overridable Property ViewsSlidingCacheTime As TimeSpan
Get
Set
public:
virtual property TimeSpan ViewsSlidingCacheTime {
TimeSpan get ();
void set (TimeSpan value);
}abstract ViewsSlidingCacheTime : TimeSpan with get, set
override ViewsSlidingCacheTime : TimeSpan with get, set
Property Value
Type:
TimeSpan
RemarksIf the VirtualPathProvider supports cache dependencies then an update to the source file will force a recompilation of the view.
See Also