1 post in this category
If you change block output based on the current path, you must add the `url.path` cache context. Otherwise Drupal will reuse a cached version across pages and show the wrong content.