Skip to content

Support Tags with Symfony Http cache #234

@andrerom

Description

@andrerom

Opening this to continue the conversation of adding such a feature.
In our (eZ) case we would like to use tags both when configured with Varnish and when using Sf Cache.

I'm not 100% up to speed on EventDispatchingHttpCache as introduced earlier this year, but possible idea as discussed with @lolautruche was to use hardlinks (see symfony/symfony#15458) to place the cache in several locations representing the tags, to be able to efficiently do reverse lookup on "banning", or to allow stale/grace cache; expiry by tag expiry. Discussed that with @lsmith77 some time ago and decided to take the discussion here.

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