From c1d2f7770c405261630ae9bfc6f2d2e1125a331a 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 3db813ae0a5..ff9980ecade 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 4386d40b24380b0eb3489de10a0d1caf2a4514e9 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 ff9980ecade..69a6be0a36c 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 -------------------------------------