From fcde5d9fbf676892255955cb4792629fded18c0b Mon Sep 17 00:00:00 2001 From: Simon L Date: Sat, 17 Jun 2023 21:09:20 +0200 Subject: [PATCH 1/2] add a section about asset compression Signed-off-by: Simon L --- admin_manual/installation/server_tuning.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/admin_manual/installation/server_tuning.rst b/admin_manual/installation/server_tuning.rst index 6b8371f82..b88d89c91 100644 --- a/admin_manual/installation/server_tuning.rst +++ b/admin_manual/installation/server_tuning.rst @@ -50,6 +50,14 @@ Caching improves performance by storing data, code, and other objects in memory. Memory cache configuration for the Nextcloud server must be installed and configured. See :doc:`../configuration_server/caching_configuration`. +Compression +----------- + +Enabling compression in your web server for plain filetypes like javascript, css and svg files +improves the performance because less bytes need to be transferred to the clients. Only these +file types are necessary because all other plain filetypes are usually served by Nextcloud PHP +code and compressed on the fly by it automatically if the client accepts gzip encoding. + Using MariaDB/MySQL instead of SQLite ------------------------------------- From c9914dc9c1ae084fe54e1b0c9b71335c3697ce6b Mon Sep 17 00:00:00 2001 From: Simon L Date: Sat, 24 Jun 2023 15:06:37 +0200 Subject: [PATCH 2/2] address review Signed-off-by: Simon L --- admin_manual/installation/server_tuning.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/admin_manual/installation/server_tuning.rst b/admin_manual/installation/server_tuning.rst index b88d89c91..b2f268a87 100644 --- a/admin_manual/installation/server_tuning.rst +++ b/admin_manual/installation/server_tuning.rst @@ -53,10 +53,8 @@ See :doc:`../configuration_server/caching_configuration`. Compression ----------- -Enabling compression in your web server for plain filetypes like javascript, css and svg files -improves the performance because less bytes need to be transferred to the clients. Only these -file types are necessary because all other plain filetypes are usually served by Nextcloud PHP -code and compressed on the fly by it automatically if the client accepts gzip encoding. +Enabling compression in your web server for JavaScript, CSS, and SVG files improves the +performance because fewer bytes need to be transferred to the clients. Using MariaDB/MySQL instead of SQLite -------------------------------------