diff --git a/docs/general/system-configuration-overrides.md b/docs/general/system-configuration-overrides.md index e1fc3fa95..9d42a955d 100755 --- a/docs/general/system-configuration-overrides.md +++ b/docs/general/system-configuration-overrides.md @@ -511,6 +511,7 @@ Specify a different [caching driver](optimization/caching.md#caching-drivers) to | Values | Description | | --------- | -------------------------------------------------- | | file | File driver, /system/user/cache/ (default) | +| database | Database driver, uses the DB for caching | | memcached | Memcached driver, configured with memcached config | | redis | Redis driver, configured with redis config | | dummy | Dummy driver, will not cache | @@ -1202,7 +1203,7 @@ Example Usage: ### `enable_entry_cloning` -When set to `n`, disables "Clone to New Entry" option and entry cloning globally. +When set to `n`, disables "Clone to New Entry" option and entry cloning globally. | Value | Behavior | | ----- | ---------------------------------------------- | @@ -1423,7 +1424,7 @@ Example Usage: ### `favicon` -URL to file used as favicon in Control Panel. +URL to file used as favicon in Control Panel. Example Usage: @@ -3040,7 +3041,7 @@ Stream encryption method, when using TLS for sending emails over SMTP. | STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT | TLS v1.2 (default) | | STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT | TLS v1.3 (as of PHP 7.4.0) | - + Example Usage: $config['tls_crypto_method'] = STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT; diff --git a/docs/optimization/caching.md b/docs/optimization/caching.md index 8e0f27d91..7df4ee258 100755 --- a/docs/optimization/caching.md +++ b/docs/optimization/caching.md @@ -93,6 +93,8 @@ By default, ExpressionEngine uses a file-based caching driver, meaning cached it ExpressionEngine currently supports Memcached and Redis for memory-based caching. You can set which driver is being used in the control panel or via the [cache_driver](general/system-configuration-overrides.md#cache_driver) config override. [Memcached](general/system-configuration-overrides.md#memcached) and [Redis](general/system-configuration-overrides.md#redis) server information can also be set in `config.php`, otherwise ExpressionEngine will try to connect to the default respective ports on localhost. +You can also set caching to Database, which uses the same database for cache data as the rest of your site data. There are pros and cons to this approach. If you can't easily use memcached or redis, database caching can be another way to use RAM-based caching; on the other hand, this can create additional database read and write calls that can be slower than file or memory-based caching choices. Database works well in load balanced environments, where memcache and redis are more difficult to work with due to the difficulty in synchronizing across servers. Test out database caching performance and compare your specific results before committing to it. + A [backup driver](general/system-configuration-overrides.md#cache_driver_backup) can also be specified in the case your primary driver is unavailable. By default, the backup driver is the file driver and it's likely the best failover option due to its reliability, but the backup driver is configurable. Add-on developers can find more information about using caching drivers to store and retrieve items in the [Cache Class](development/legacy/libraries/cache.md) documentation.