lazy: cache is initialized after xitrum.
lazy: cache is initialized after xitrum.Config, so that inside the cache class, xitrum.Config can be used.
Cache config in xitrum.conf can be in 2 forms:
cache = my.Cache
Or if the cache needs additional options:
cache { "my.Cache" { option1 = value1 option2 = value2 } }
Log name is inferred from the class name.
Log name is inferred from the class name.
lazy: templateEngine is initialized after xitrum.
lazy: templateEngine is initialized after xitrum.Config, so that inside the template engine class, xitrum.Config can be used.
Template config in xitrum.conf can be in 2 forms:
template = my.template.Engine
Or if the template engine needs additional options:
template { "my.template.Engine" { option1 = value1 option2 = value2 } }