8000 Add top-level Cache article · Issue #8711 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Add top-level Cache article #8711

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

Closed
weaverryan opened this issue Nov 21, 2017 · 4 comments
Closed

Add top-level Cache article #8711

weaverryan opened this issue Nov 21, 2017 · 4 comments
Labels
Cache ⭐️ EU-FOSSA Hackathon https://symfony.com/blog/the-symfony-and-api-platform-hackathon-is-coming
Milestone

Comments

@weaverryan
Copy link
Member

Sorry of this is a duplicate, but we need a top-level "caching" entry, since Symfony 3.3 to talk about how to configure the cache, cache.pools, etc.

See #8710 for an example when I didn't really have a good place to link to (look for framework.cache.pools).

3.4 milestone added so we can do it during the Symfony 4 push.

@B-Galati
Copy link
Contributor

@weaverryan I would like to help on this subject. If I understand well, we would need a new "cache" entry in the "guides" section of the doc ? This new entry would be like the Serializer one ?

@eXtreme
Copy link
Contributor
eXtreme commented Feb 24, 2018

From a developer's perspective, who knows how the component work... Right now there is no up-to-date (or even real) doc how to use and configure the cache in the framework. Every time I start a new project and want to use the cache I have to rely on previous work or dig into various PRs, blogposts etc and try to make it work.

How do you configure pools? How do you configure providers? Dev/test/prod setup? What are these default provider options? What can you do with default system and/or app pool?

@ghost
Copy link
ghost commented Jul 15, 2018

definitely struggling with this one myself.

@lyrixx
Copy link
Member
lyrixx commented Dec 10, 2018

I also think this issue is important.
In a proprietary project, it have seen:

services:
    Symfony\Component\Cache\Adapter\PdoAdapter:
        arguments:
            - "@doctrine.dbal.default_connection"

    Psr\Cache\CacheItemPoolInterface: '@Symfony\Component\Cache\Adapter\PdoAdapter'

So the integration with the framework bundle is totally bypassed. Too bad :(

There is some doc about pool in the reference but it does not show up via google or algolia :/ More over, people usually forget about this doc section.

For other component we have a dedicated page (see this doc for the workflow as an exemple) and this is a very good starting point.

So big 👍 for a top-level cache article.

/cc @nicolas-grekas

@wouterj wouterj closed this as completed in 7700cab Apr 7, 2019
@wouterj wouterj added ⭐️ EU-FOSSA Hackathon https://symfony.com/blog/the-symfony-and-api-platform-hackathon-is-coming and removed ⭐️ EU-FOSSA Hackathon https://symfony.com/blog/the-symfony-and-api-platform-hackathon-is-coming labels Apr 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cache ⭐️ EU-FOSSA Hackathon https://symfony.com/blog/the-symfony-and-api-platform-hackathon-is-coming
Projects
None yet
Development

No branches or pull requests

6 participants
0