Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[2.1] Unify cache mechanisms  #1513

Copy link
Copy link
Closed
Closed
Copy link
@vicb

Description

@vicb
Issue body actions

The doctrine bundle, the validator and the annotation reader all support caching.

The doctrine bundle supports memcache, apc, array and xcache.

The annotations reader supports file and any mechanism that implements Doctrine\Common\Cache\Cache by providing a service in the configuration.

The validator component only supports apc.

It would be great to be able to define some cache providers in the framework configuration and use them from the configuration of those 3 components.
That would require changing the configuration of the doctrine bundle and the annotation reader and implement a ClassMetadataFactory that would use an instance of Doctrine\Common\Cache\Cache.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.