-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Issue 8189 - L2 caching example change #8194
Issue 8189 - L2 caching example change #8194
Conversation
@@ -21,28 +21,30 @@ Magento stores the hashed data version in Redis, with the suffix ':version' appe | |||
```php | |||
'cache' => [ | |||
[ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We may still have an error here. The cache node should not contain another array. Please, correct me if I'm wrong
[ |
@rogyar Would need some technical assistance so that I could change it. |
Hi @dineshvb. Could you clarify, please, what type of technical assistance do you need? Thanks. |
@rogyar just that array symbol, shall I delete it? |
Hi @dineshvb. Here is the correct version of your example 'cache' => [
'frontend' => [
'default' => [
'backend' => '\\Magento\\Framework\\Cache\\Backend\\RemoteSynchronizedCache',
'backend_options' => [
'remote_backend' => '\\Magento\\Framework\\Cache\\Backend\\Redis',
'remote_backend_options' => [
'persistent' => 0,
'server' => 'localhost',
'database' => '0',
'port' => '6370',
'password' => '',
'compress_data' => '1',
],
'local_backend' => 'Cm_Cache_Backend_File',
'local_backend_options' => [
'cache_dir' => '/dev/shm/'
]
],
'frontend_options' => [
'write_control' => false,
],
'use_stale_cache' => false,
]
],
'type' => [
'default' => ['frontend' => 'default'],
]
] |
Is this another change for |
No, these changes are for 2.4.2-develop branch since the issue only addresses the 2.4 version |
Thanks @dineshvb. To be clear, the |
b7eb73a
to
a854e8d
Compare
@dobooth Rebased to master branch |
running tests |
Hi @dineshvb, thank you for your contribution! |
Purpose of this pull request
This pull request (PR) will cover #8189
Affected DevDocs pages