StyleSheetCdnSettingsKetticCdn Property |
Namespace: Kettic.AspNet.Controls
By default the Kettic CDN is not used. If you enable it the skins will be loaded from the Kettic CDN.
The Kettic CDN is hosted on Amazon CloudFront. This is a global content delivery service with edge locations in US, Europe and Asia. It automatically routes requests to the nearest location, so content is delivered with the best possible performance.
The Kettic CDN uses the following host names:
Host name (HTTP) | Served content |
---|---|
aspnet-scripts.ketticstatic.com | Kettic ASP.NET controls scripts |
aspnet-skins.ketticstatic.com | Kettic ASP.NET controls skins and images |
Host name (HTTPS) | Served content |
---|---|
https://d2i2wahzwrm1n5.cloudfront.net | Kettic ASP.NET controls scripts |
https://d35islomi5rx1v.cloudfront.net | Kettic ASP.NET controls skins and images |
KaxStyleSheetManager only manages the control skins. See KaxScriptManager for enabling CDN support for the control scripts.
You can globally configure CDN-related settings from web.config by using the following application settings:
Application setting | Maps to |
---|---|
Kettic.StyleSheetManager.KetticCdn | StyleSheetManager.CdnSettings.KetticCdn |
Kettic.StyleSheetManager.KetticCdn.BaseUrl | StyleSheetManager.CdnSettings.BaseUrl |
Kettic.StyleSheetManager.KetticCdn.BaseSecureUrl | StyleSheetManager.CdnSettings.BaseSecureUrl |
For example:
<appSettings><br /> <add key="Kettic.StyleSheetManager.KetticCdn" value="Enabled" /><br /> <add key="Kettic.StyleSheetManager.KetticCdn.BaseUrl" value="http://myserver" /><br /> <add key="Kettic.StyleSheetManager.KetticCdn.BaseSecureUrl" value="https://myserver" /><br /> </appSettings><br />
Note: Ensure that your customers have unlimited access to the ketticstatic.com domain before turning on this feature.