New in Symfony 8.1: Improved Cache Attribute
The #[Cache] attribute lets you define HTTP cache headers directly on controllers, including dynamic values for the Last-Modified and ETag headers. Symfony 8.1 makes this attribute easier to use and more flexible. New request and args Variables in Expressions…