Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Support.YetaWFManager.IsStaticSite Property

Defines whether the current request is for the static site. A static site URL can be defined using Admin > Settings > Site Settings, CDN tab, Static Files Domain.

Class: YetaWF.Core.Support.YetaWFManager
Namespace: YetaWF.Core.Support
Assembly: YetaWF.Core

Syntax

public bool IsStaticSite { get; set; }

Remarks

Defining a static domain offers the ability to have all static files served from that domain, which is hosted by the same YetaWF instance as the main domain. Static domains don't send cookie information with each response, reducing overhead.

Support for static domains once enabled is fully automatic.

See Also YetaWF.Core.Support.YetaWFManager ClassYetaWF.Core Overview