Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add runtime cache to zend locale data #917

Closed
tmotyl opened this issue Apr 4, 2020 · 0 comments · Fixed by #918 or Lamia/magento-lts#3
Closed

Add runtime cache to zend locale data #917

tmotyl opened this issue Apr 4, 2020 · 0 comments · Fixed by #918 or Lamia/magento-lts#3

Comments

@tmotyl
Copy link
Contributor

tmotyl commented Apr 4, 2020

This modified version of Zend_Locale_Data (based on version from Magento CE 1.6.2.0) uses a local cache in addition to the shared cache to prevent repeated cache requests for the same data. This can save literally hundreds of cache requests per page depending on how heavily the page uses Zend_Locale (dates and currency).

https://gist.github.com/colinmollenhour/2715828

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants