Website configs

This is a list of configuration settings that are available. These settings sit in the AppSettings section of the web.config.



Required Settings


App SettingValuesNotes
fw8.Application.ContextIdThe ID of the applicationForces the website to render within the ID of the application

Optional Settings


App SettingValuesNotes
fw8.WebCaching.CachingEnabled "1" or "0" Enables general web caching server side. Default is false
fw8.WebCaching.CachePages"1" or "0" Enables full caching of web pages. Default is false.
fw8.Web.ForceLogin"1" or "0"Will force a website to insist on a login if set to 1. Default is false.
fw8.Web.HomePageIdThe PointerId of the home pageSets the default page that will render when the site is loaded with the root path "/". if not set the framework will pick the first renderable asset below the website
fw8.Security.ForceSSL"1" or "0"Forces a site to redirect to the https:// version when http:// is requested. Default is false.
fw8.Security.AuthenticateRequests"1" or "0"Activates the Authentication upon each request. This is required for sites that need a login. Default is false.
fw8.Web.PipelineExcludedFirstSegmentsComma separatedA setting that will exclude the first segments of a request for pipeline processing. This is useful if the site sits in a sub directory. For example - if you are running a fw8 site in a directory called subsites/a-site the settings would be "subsites/a-site". Default is empty.
fw8.Web.EndpointsComma separated list of pathsEnd points allow you to define an end point in the URL. The pipeline will only process up to the end point then will break up the rest of the segments into a list of parameters available in the current asset. For example you may have a URL ...com/products?tabs=Foo,Bar. If you define an endpoint in the setting as "products" - you can then write out the URL as products/foo/bar. The pipeline will find the page products and pass you back a list containing "foo" and "bar". See endpoints for more details.
fw8.Web.ValidPipelineExtensionsComma separated list of extensionThe pipeline will naturally exit on extensions it does not manage. For example .htm or .html will exit the fw8 pipeline. If however you wanted to process these extensions, perhaps to perform a redirect you would add ".htm,.html" to this setting.
fw8.Web.EnableDebugInofInHead"1" or "0"Will include debug information in the tag in the from of metatags. Default is false.
fw8.Web.EnableAutoLinking"1" or "0"Enables or disables the AutoLinking feature. Autolinking will add links to content based on specific keywords in the Autolinking asset type. Default is false.
fw8.Web.DisableRazor"1" or "0"A setting to disable Razor rendering - this is sometimes used in debug scenarios. Default is false.
fw8.Web.Disable304Found"1" or "0"Disables the frameworks ability to return a 304 found based on the ETAG passed in. This is useful for debugging. Default is false.
fw8.Web.DocDownloadBehaviuorDOCUMENT
NONE
ALL
IMAGE
The default behaviour of the framework is to open files and images in the browser. This setting overrides this behaviour to by setting the content-disposition to "attachment" in the file header. NONE is the default setting. 
fw8.Analytics.Enabled"1" or "0"Enables or disables fw8 native analytics gathering. It is set to false by default.
fw8.BrowserCaching.Disabled"1" or "0"Instructs the browser not to cache in the response header if set to "1". This setting can be useful for debugging. Default is false.
fw8.WebCaching.PreCachePages"1" or "0"Enables pre-caching of pages after an invalidation event. By default fw8 caches pages after they have been requested for the first time. If this setting is set to 1 the system will start request simulations automatically to pre-cache pages.