https://waffle.io/trigo-at/trigo-hapijs
hapijs base for projects
Required config settings:
- distPath
- port
- version
- viewPath
- settings.auth.authCookieSecret
- settings.auth.authCookieName
- settings.db
Options
staticCache (optional)
Exposes 'cache-control' header options for static assets route. Hapi will generate the appropriate cache-control header on replies based on the supplied options.
- expiresIn: relative expiration expressed in milliseconds
- statuses: array of valid HTTP statuscodes which are allowed to include a valid caching directive.
- [200] (default)
- privacy: determines the privacy flag
- private
- public
- default (default)