...even if site admins won't change the settings many times after the initial setup.

Comments

seppelM created an issue. See original summary.

greg boggs’s picture

This would be a great feature. Although, cache clears in Drupal 8 are expensive and a large production site could be crashed by a hidden cache clear. So, it would be great if we could figure out the cache tags syntax to make this work.

See the answer here:

http://drupal.stackexchange.com/questions/205867/how-do-i-avoid-having-t...

seppelM’s picture

Adding
$breadcrumb->addCacheableDependency($this->config);
in EasyBreadcrumbBuilder::build() might does the trick.

greg boggs’s picture

Sebastian,

It works! That was so easy it's painful that wasn't easy to find. :)

Thanks a lot!.

  • Greg Boggs committed b90d145 on 8.x-1.x
    Issue #2824670 by seppelM: clearing the cache after configuration...
greg boggs’s picture

I've pushed the fix to the dev release. Feel free to give it a test yourself before I roll a release.

greg boggs’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.