Edit in GitHubLog an issue

Partial caching

Adobe Commerce and Magento Open Source use Zend_Cache to interact with the cache storage. However, the applications also have the Magento\Cache library for implementing Magento-specific caching. These topics discuss how to configure caching and cache types.

To change the cache configuration, edit the <magento_root>/app/etc/env.php file.

The cache configuration is an associative array similar to the following:

Copied to your clipboard
1'cache_types' =>
2 array (
3 'config' => 1,
4 'layout' => 1,
5 'block_html' => 1,
6 'collections' => 1,
7 'db_ddl' => 1,
8 'eav' => 1,
9 'full_page' => 1,
10 'translate' => 1,
11 'config_integration' => 1,
12 'config_webservice' => 1,
13 'config_integration_api' => 1,
14 ),
15);

The preceding lists all cache types and shows they are all enabled.

More information about caching#

The following topics discuss how to set up caching:

Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell my personal information
  • AdChoices
Copyright © 2022 Adobe. All rights reserved.