File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ Enhancements
24
24
Commands
25
25
========
26
26
27
+ - Added ``spark optimize `` command to optimize configuration for production environment.
27
28
- Added ``spark make:test `` command to generate a skeleton test file. See
28
29
:ref: `cli-generators-make-test ` for the details.
29
30
- Added ``spark config:check `` command to check Config values. See
Original file line number Diff line number Diff line change @@ -187,13 +187,18 @@ You can use the ``spark cache:clear`` command:
187
187
188
188
Or simply delete the **writable/cache/FileLocatorCache ** file.
189
189
190
+ .. note ::
191
+ The ``spark optimize `` command clears the cache.
192
+
190
193
How to Enable FileLocator Caching
191
194
=================================
192
195
193
196
Set the following property to ``true `` in **app/Config/Optimize.php **::
194
197
195
198
public bool $locatorCacheEnabled = true;
196
199
200
+ Or you can enable it with the ``spark optimize `` command.
201
+
197
202
.. note ::
198
203
This property cannot be overridden by
199
204
:ref: `environment variables <configuration-classes-and-environment-variables >`.
Original file line number Diff line number Diff line change @@ -313,6 +313,9 @@ You can use the ``spark cache:clear`` command:
313
313
314
314
Or simply delete the **writable/cache/FactoriesCache_config ** file.
315
315
316
+ .. note ::
317
+ Since v4.5.0, the ``spark optimize `` command clears the cache.
318
+
316
319
How to Enable Config Caching
317
320
============================
318
321
@@ -322,6 +325,8 @@ Set the following property to ``true`` in **app/Config/Optimize.php**::
322
325
323
326
public bool $configCacheEnabled = true;
324
327
328
+ Since v4.5.0, you can enable this with the ``spark optimize `` command.
329
+
325
330
.. note ::
326
331
This property cannot be overridden by
327
332
:ref: `environment variables <configuration-classes-and-environment-variables >`.
You can’t perform that action at this time.
0 commit comments