Reading the Symfony Reverse Proxy Cache docs such as this I have a need for this, but I'd like to just prevent the caching from happening on certain routes overall.
Perhaps an annotation or regex setting somewhere, just to say something like
/**
* @Route("/my/route", name="my_route", cachable=false)
*/
or
/**
* @Route("/my/route", name="my_route")
* @ProxyCache(false)
*/
Is there something like this, or a composer package that does this?
You can use the FOSHttpCacheBundle, it allows you a fine tuning of what should be cached or not. For example, a given action.