From 62db25f7ec2922ae855aa039f2feb66fb61ea252 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikael=20Schir=C3=A9n?= Date: Sat, 18 Sep 2021 17:38:39 +0200 Subject: [PATCH 1/2] Add example for using memcache and ram for cache --- docs/overview/architecture-overview.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/overview/architecture-overview.md b/docs/overview/architecture-overview.md index 7ea892840c..aa6800b3d9 100644 --- a/docs/overview/architecture-overview.md +++ b/docs/overview/architecture-overview.md @@ -195,6 +195,22 @@ cache store better suited for production deployment. The right cache store for your Backstage instance will depend on your own run-time constraints and those required of the plugins you're running. +### Use memory for cache + +```yaml +backend: + cache: + store: memory +``` +### Use memcache for cache + +```yaml +backend: + cache: + store: memcache + connection: user:pass@cache.example.com:11211 +``` + Contributions supporting other cache stores are welcome! ## Containerization From 736b3d14a352183aacd4179b98cdd68f58004d36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20Adel=C3=B6w?= Date: Mon, 20 Sep 2021 09:39:50 +0200 Subject: [PATCH 2/2] fix prettier MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fredrik Adelöw --- docs/overview/architecture-overview.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/overview/architecture-overview.md b/docs/overview/architecture-overview.md index aa6800b3d9..3425b02db9 100644 --- a/docs/overview/architecture-overview.md +++ b/docs/overview/architecture-overview.md @@ -202,6 +202,7 @@ backend: cache: store: memory ``` + ### Use memcache for cache ```yaml