From 70cfb6624dceffc947c88d59d33b5dfc515f013a Mon Sep 17 00:00:00 2001 From: Pieter Date: Mon, 26 Feb 2018 09:51:53 +0100 Subject: [PATCH 1/2] Add CACHE_PREFIX to the .env.example file We had some problems with multiple BookStack instances using the same caching server. Perhaps it's a good idea to have this available in the `.env.example` file. --- .env.example | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.env.example b/.env.example index 80afb6274..5f31238e3 100644 --- a/.env.example +++ b/.env.example @@ -20,6 +20,8 @@ SESSION_DRIVER=file #CACHE_DRIVER=memcached #SESSION_DRIVER=memcached QUEUE_DRIVER=sync +# A different prefix is useful when multiple bookstack instances use the same caching server +CACHE_PREFIX=bookstack # Memcached settings # If using a UNIX socket path for the host, set the port to 0 From 496289ad94c3c5134df9128e3edc12c5afefd4d9 Mon Sep 17 00:00:00 2001 From: Pieter Date: Mon, 5 Mar 2018 13:10:59 +0100 Subject: [PATCH 2/2] Update .env.example --- .env.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.example b/.env.example index 5f31238e3..54badeb7c 100644 --- a/.env.example +++ b/.env.example @@ -20,7 +20,7 @@ SESSION_DRIVER=file #CACHE_DRIVER=memcached #SESSION_DRIVER=memcached QUEUE_DRIVER=sync -# A different prefix is useful when multiple bookstack instances use the same caching server +# A different prefix is useful when multiple BookStack instances use the same caching server CACHE_PREFIX=bookstack # Memcached settings