8000 Cache tags beyond groups · Issue #18650 · cakephp/cakephp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Cache tags beyond groups #18650
Open
Open
@dereuromark

Description

@dereuromark

Description

https://book.cakephp.org/5/en/core-libraries/caching.html
We seem to have groups.
Those are however linked to the engine itself, not individual cache entries.
I think given this they are quite limited in its use - and not very practical.

In other systems they use cache tags, and those work on the entries themselves
https://symfony.com/doc/current/components/cache/cache_invalidation.html#using-cache-tags
That makes it possible to store them with specific entries, and then be able to invalidate them throughout that engine.
This is usually what they makes them so useful and practical, you dont need to set up engine configs to get different tags to work, and invalidating them.

We lack this functionality it seems.

Symfony added this with v4 it seems ( symfony/symfony#28096 + symfony/symfony#28097 )

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0