Skip to content

Add runtime cache to zend locale data #917

@tmotyl

Description

@tmotyl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions