diff --git a/packages/roc-package-web-app-dev/docs/Settings.md b/packages/roc-package-web-app-dev/docs/Settings.md index 1a6d361..6d85346 100644 --- a/packages/roc-package-web-app-dev/docs/Settings.md +++ b/packages/roc-package-web-app-dev/docs/Settings.md @@ -120,6 +120,12 @@ Settings for how Koa should handle paths. | defer | If this should be performed after looking for a file on disk. | runtime.koa.normalize.defer | --koa-normalize-defer | `false` | `Boolean` | No | | enabled | If paths should be normalized, that is remove extra slashes. | runtime.koa.normalize.enabled | --koa-normalize-enabled | `true` | `Boolean` | No | +#### StaticServe + +| Name | Description | Path | CLI option | Default | Type | Required | +| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- | ------------------------------------- | --------------------------------- | ----------------------- | -------- | +| maxage | Browser cache max-age in milliseconds. Production only. | runtime.koa.staticServe.maxage | --koa-staticServe-maxage | `60000` | `Unknown` | No | + #### TrailingSlashes | Name | Description | Path | CLI option | Default | Type | Required | diff --git a/packages/roc-package-web-app-dev/package.json b/packages/roc-package-web-app-dev/package.json index 247f555..d1196a6 100644 --- a/packages/roc-package-web-app-dev/package.json +++ b/packages/roc-package-web-app-dev/package.json @@ -1,6 +1,6 @@ { "name": "roc-package-web-app-dev", - "version": "1.0.0-alpha.6", + "version": "1.0.0-alpha.7", "description": "Package for building web applications using Roc (Development)", "main": "lib/index.js", "bin": "bin/index.js", diff --git a/packages/roc-package-web-app/docs/Settings.md b/packages/roc-package-web-app/docs/Settings.md index 95bc41f..574f9fa 100644 --- a/packages/roc-package-web-app/docs/Settings.md +++ b/packages/roc-package-web-app/docs/Settings.md @@ -40,6 +40,12 @@ Settings for how Koa should handle paths. | defer | If this should be performed after looking for a file on disk. | runtime.koa.normalize.defer | --koa-normalize-defer | `false` | `Boolean` | No | | enabled | If paths should be normalized, that is remove extra slashes. | runtime.koa.normalize.enabled | --koa-normalize-enabled | `true` | `Boolean` | No | +#### StaticServe + +| Name | Description | Path | CLI option | Default | Type | Required | +| ----------- | ------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------- | ----------------------------- | ----------------------- | ----------------------- | -------- | +| maxage | Browser cache max-age in milliseconds. Production only. | runtime.koa.staticServe.maxage | --koa-staticServe-maxage | `60000` | `Unknown` | No | + #### TrailingSlashes | Name | Description | Path | CLI option | Default | Type | Required | diff --git a/packages/roc-package-web-app/package.json b/packages/roc-package-web-app/package.json index 20330d7..fc990e1 100644 --- a/packages/roc-package-web-app/package.json +++ b/packages/roc-package-web-app/package.json @@ -1,6 +1,6 @@ { "name": "roc-package-web-app", - "version": "1.0.0-alpha.6", + "version": "1.0.0-alpha.7", "description": "Package for building web applications using Roc", "main": "lib/index.js", "bin": "bin/index.js",