Yireo_DirectoryDataCache

PHP 8.2 - 8.5
Magento 2.4.6 - 2.4.9
CSP Yes
License OSL-3.0
Latest Release none

This module adds a separate cache (manageable from the CLI or backend) to Magento 2, when AJAX calls towards an URL /customer/section/load are made to fetch the directory_data. This is not a huge gain (50ms perhaps) but all performance bits matter.

Do NOT use this module if your directory data (countries and region) are customer-specific or quote-specific.

Current status

Magento 2 DI compilation success
Playwright test success
Magento 2 Static Tests success
Magento 2 Unit Tests success
Magento 2 Integration Tests success
WARNING: This module has no releases yet. If you want to use it, make sure to add the version @dev to the composer command.

Support

For getting support, create an Issue under the following project URL:

https://github.com/yireo/Yireo_DirectoryDataCache

Composer details
Magento module name
Yireo_DirectoryDataCache
Composer name
yireo/magento2-directory-data-cache
Composer version
No release yet
Default branch
master
Requirements
magento/framework: ^103.0
php: >=8.2 <8.6
Releases
Changelog

Last modified: October 17, 2026