const mixinafPillow::PillowConfigIds
afPillow::PillowConfigIds
IocConfig values as provided by Pillow. To change their value, override them in your AppModule. Example:
using afIoc
using afIocConfig
using afPillow
 
class AppModule {
    @Contribute { serviceType=ApplicationDefaults# } 
    static Void configureAppDefaults(Configuration config) {
        config[PillowConfigIds.welcomePage] = "home"
    }
}
- cacheControl
- const static Str cacheControl := "afPillow.cacheControl"- The - cache-controlHTTP header value to set in rendered Pillow pages. The header is set before the page is rendered, making it easy to override / re-set in any- @InitRendermethod.- The - cache-controlHTTP header is only set in production mode.- Defaults to - "max-age=0, no-cache"
- defaultContentType
- const static Str defaultContentType := "afPillow.defaultContentType"- The default - Content-Typeto serve pages up as, if it can not be determined.- Defaults to - MimeType("text/html; charset=utf-8")
- welcomePageName
- const static Str welcomePageName := "afPillow.welcomePageName"- The component name (Str) of directory welcome pages. - Defaults to - "index".
- welcomePageStrategy
- const static Str welcomePageStrategy := "afPillow.welcomePageStrategy"- Set the welcome page strategy which defines the interaction between welcome page URIs and directory URIs. - Defaults to - WelcomePageStrategy.onWithRedirects