- Issue created by @codebymikey
Currently when you make changes to a Route configuration entity, it should invalidate the cache for any affected responses.
This can be achieved by checking if the response object implements \Drupal\Core\Cache\CacheableResponseInterface
, and if it does, then we add the RouteConfigEntityInterface
config instance as a cacheable dependency.
Add the configuration as a cacheable dependency and let Drupal handle all the cache invalidation automatically.
Provide issue fork/patch with functional tests hopefully.
N/A
Active
1.0
Code