From 47a73d2373bd9eadf082d1cf1350ca32e6dabe62 Mon Sep 17 00:00:00 2001 From: epessina Date: Wed, 4 Dec 2024 12:31:12 +0100 Subject: [PATCH] ENABLE_CACHE doc --- docs/add-ons/backend/middleware.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/add-ons/backend/middleware.md b/docs/add-ons/backend/middleware.md index 39b050c5..808ff624 100644 --- a/docs/add-ons/backend/middleware.md +++ b/docs/add-ons/backend/middleware.md @@ -185,13 +185,14 @@ needs the environment variables outlined in the On top of those, Middleware accepts the following environment variables: -| Name | Type | Default | Description | -| :------------------------: | :------: | :------------------------------------------: | ----------------------------------------------------------------------------------------------------------- | -| `ACL_CONTEXT_BUILDER_PATH` | `string` | `/usr/src/app/config/acl-context-builder.js` | Absolute path of the [ACL context builder](#custom-extraction) file | -| `LANGUAGES_DIRECTORY_PATH` | `string` | `/usr/static/languages` | Absolute path of the [directory](#language-translation) containing language files | -| `PUBLIC_DIRECTORY_PATH` | `string` | `/usr/static/public` | Absolute path of the [directory](#serving-from-file-system) containing static files to be served | -| `RESOURCES_DIRECTORY_PATH` | `string` | `/usr/static/configurations` | Absolute path of the [directory](#serving-from-file-system) containing configuration resources to be served | -| `SERVICE_CONFIG_PATH` | `string` | `/usr/src/app/config/config.json` | Absolute path of the [service configuration](#service-configuration) file | +| Name | Type | Default | From version | Description | +| :------------------------: | :-------: | :------------------------------------------: | :----------: | ----------------------------------------------------------------------------------------------------------- | +| `ACL_CONTEXT_BUILDER_PATH` | `string` | `/usr/src/app/config/acl-context-builder.js` | | Absolute path of the [ACL context builder](#custom-extraction) file | +| `LANGUAGES_DIRECTORY_PATH` | `string` | `/usr/static/languages` | | Absolute path of the [directory](#language-translation) containing language files | +| `PUBLIC_DIRECTORY_PATH` | `string` | `/usr/static/public` | | Absolute path of the [directory](#serving-from-file-system) containing static files to be served | +| `RESOURCES_DIRECTORY_PATH` | `string` | `/usr/static/configurations` | | Absolute path of the [directory](#serving-from-file-system) containing configuration resources to be served | +| `SERVICE_CONFIG_PATH` | `string` | `/usr/src/app/config/config.json` | | Absolute path of the [service configuration](#service-configuration) file | +| `ENABLE_CACHE` | `boolean` | `true` | `3.4.0` | Toggle internal caching of config and public files | ## Service configuration