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
'cache_types' =>
array (
'config' => 1,
'layout' => 1,
'block_html' => 1,
'collections' => 1,
'db_ddl' => 1,
'eav' => 1,
'full_page' => 1,
'translate' => 1,
'config_integration' => 1,
'config_webservice' => 1,
'config_integration_api' => 1,
),
);

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:

  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.