Skip to content

Symfony HTTP Cache / Tag Invalidation #286

Description

@dantleech

Currently this library contains several classes related to extending the Symfony HTTP Cache by way of an EventDispatchingKernel trait.

There is a general need to implement tag invalidation with the Symfony HTTP cache, and this has been done here.

Most of the logic in that package is concerned with tags and @magnusnordlander is proposing to create a new package which is dedicated to tag storage. Therefore the amount code required for adding the tagging functionality to the HTTP cache is not very large.

We could therefore reasonably add the tagging functionality in this package, however I am not so sure that it belongs here -

  • I believe all of the functionality we add to the Symfony HTTP Cache can be used without the infrastructure of the FOSHttpCache.
  • I think this bundle should integrate with third-party caches and not provide solutions itself.

I therefore propose to create a new package containing to the Symfony HTTP cache and ultimately remove the SymfonyCache namespace from this package.

wdyt?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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