Skip to content

Hard dependency on sensio/framework-extra-bundle when using cache tagging #489

@Toflar

Description

@Toflar

I'm not quite sure if I got this right, so I figured I'll add an issue first and get your opinion but the parameter fos_http_cache.compiler_pass.tag_annotations in https://github.com/FriendsOfSymfony/FOSHttpCacheBundle/blob/master/src/DependencyInjection/Compiler/TagListenerPass.php#L28 is set to true as soon as you enable cache tagging (https://github.com/FriendsOfSymfony/FOSHttpCacheBundle/blob/master/src/DependencyInjection/FOSHttpCacheExtension.php#L108-L119).

Why is this?

I mean, what's wrong in having all the cache tagging logic/services (cache_tagging.xml) without support for annotations? I only add my tags using code.

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