]> BookStack Code Mirror - bookstack/commitdiff
Add CACHE_PREFIX to the .env.example file
authorPieter <redacted>
Mon, 26 Feb 2018 08:51:53 +0000 (09:51 +0100)
committerGitHub <redacted>
Mon, 26 Feb 2018 08:51:53 +0000 (09:51 +0100)
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

index 80afb6274abbc6c31b15e4919ceead8a5419c033..5f31238e3d936dcc6e747e76b07e7c0ce506d211 100644 (file)
@@ -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