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

Drop support for sonata cache in favor for symfony/cache #1420

Closed
wbloszyk opened this issue Feb 17, 2021 · 2 comments
Closed

Drop support for sonata cache in favor for symfony/cache #1420

wbloszyk opened this issue Feb 17, 2021 · 2 comments

Comments

@wbloszyk
Copy link
Member

Related to:
sonata-project/SonataCacheBundle#279
sonata-project/cache#49

composer why sonata-project/cache-bundle

sonata-project/sandbox      dev-master  requires  sonata-project/cache-bundle (^2.4)    
sonata-project/page-bundle  3.21.0      requires  sonata-project/cache-bundle (^2.4.1)  

composer why sonata-project/cache

sonata-project/block-bundle  3.22.0  requires  sonata-project/cache (^1.0 || ^2.0)    
sonata-project/cache-bundle  2.4.2   requires  sonata-project/cache (^1.0.3)          
sonata-project/page-bundle   3.21.0  requires  sonata-project/cache (^1.0.3 || ^2.0)  

In sonata-project/block-bundle only Sonata\BlockBundle\Templating\Helper\BlockHelper is using cache optionally. So it will be easy to add another cache system.

In sonata-project/page-bundle will be more work which should be done in some order:

  • make sonata-project/cache-bundle opional
  • add symfony/cache
  • deprecate sonata/cache
@core23
Copy link
Member

core23 commented Feb 17, 2021

Refs: sonata-project/SonataBlockBundle#663

The problem is, that the sonata cache is not only a simple cache. It does some other things too.

@core23 core23 changed the title Drop suppor for sonata cache in favor for symfony/cache Drop support for sonata cache in favor for symfony/cache Oct 10, 2021
@core23 core23 mentioned this issue Oct 10, 2021
46 tasks
@jordisala1991
Copy link
Member

I think this can be closed, BlockBundle is already done, and only remains pageBundle, being tracked here: sonata-project/SonataPageBundle#1096

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

No branches or pull requests

3 participants