Skip to content

Commit

Permalink
Merge pull request #16 from sitewards/ADHCO-redis-backend-compression
Browse files Browse the repository at this point in the history
ADHOC [feat] add redis compression lib
  • Loading branch information
skalenji authored Mar 5, 2021
2 parents ed22a53 + 449c24b commit 087c60d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ magento_x_frame_options: "SAMEORIGIN"
# database: 1
# password: ""
# compress_data: 1
# compression_lib: "gzip"
# auto_expire_lifetime: 604800
# auto_expire_pattern: /^.*/

Expand All @@ -243,7 +244,8 @@ magento_x_frame_options: "SAMEORIGIN"
# port: 6379
# database: 0
# password: ""
# compress_data: "0"
# compress_data: 1
# compression_lib: "gzip"
# auto_expire_lifetime: 604800
# auto_expire_pattern: /^.*/

Expand Down
2 changes: 2 additions & 0 deletions templates/etc/env.php.j2
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ return array (
'database' => '{{ magento_cache_frontend_default_backend_options.database }}',
'password' => '{{ magento_cache_frontend_default_backend_options.password }}',
'compress_data' => '{{ magento_cache_frontend_default_backend_options.compress_data }}',
'compression_lib' => '{{ magento_cache_frontend_default_backend_options.compression_lib }}',
'auto_expire_lifetime' => '{{ magento_cache_frontend_default_backend_options.auto_expire_lifetime }}',
'auto_expire_pattern' => '{{ magento_cache_frontend_default_backend_options.auto_expire_pattern }}',
),
Expand All @@ -32,6 +33,7 @@ return array (
'database' => '{{ magento_cache_frontend_page_cache_backend_options.database }}',
'password' => '{{ magento_cache_frontend_page_cache_backend_options.password }}',
'compress_data' => '{{ magento_cache_frontend_page_cache_backend_options.compress_data }}',
'compression_lib' => '{{ magento_cache_frontend_page_cache_backend_options.compression_lib }}',
'auto_expire_lifetime' => '{{ magento_cache_frontend_page_cache_backend_options.auto_expire_lifetime }}',
'auto_expire_pattern' => '{{ magento_cache_frontend_page_cache_backend_options.auto_expire_pattern }}',
),
Expand Down

0 comments on commit 087c60d

Please sign in to comment.