From 51ceb270e88fd49673f46d6628a56accc9a2b469 Mon Sep 17 00:00:00 2001 From: kenjis Date: Fri, 8 Mar 2024 10:04:19 +0900 Subject: [PATCH] docs: add section for "spark optimize" --- user_guide_src/source/changelogs/v4.5.0.rst | 1 + user_guide_src/source/installation/deployment.rst | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/user_guide_src/source/changelogs/v4.5.0.rst b/user_guide_src/source/changelogs/v4.5.0.rst index 448b6d8cf4d3..0d25c96cb3bd 100644 --- a/user_guide_src/source/changelogs/v4.5.0.rst +++ b/user_guide_src/source/changelogs/v4.5.0.rst @@ -25,6 +25,7 @@ Commands ======== - Added ``spark optimize`` command to optimize configuration for production environment. + See :ref:`spark_optimize` for the details. - Added ``spark make:test`` command to generate a skeleton test file. See :ref:`cli-generators-make-test` for the details. - Added ``spark config:check`` command to check Config values. See diff --git a/user_guide_src/source/installation/deployment.rst b/user_guide_src/source/installation/deployment.rst index b089b41642e0..fb8d9116250e 100644 --- a/user_guide_src/source/installation/deployment.rst +++ b/user_guide_src/source/installation/deployment.rst @@ -15,6 +15,19 @@ things you can do to make your application run more efficiently. This section describes the optimization features that CodeIgniter provides. +.. _spark_optimize: + +spark optimize +============== + +.. versionadded:: 4.5.0 + +The ``spark optimize`` command performs the following optimizations: + +- `Removing Dev Packages`_ +- Enabling `Config Caching`_ +- Enabling `FileLocator Caching`_ + Composer Optimization =====================