Why invalidate all during block config updates?

Created on 14 June 2021, over 3 years ago
Updated 30 June 2023, about 1 year ago

Problem/Motivation

When reviewing the 8.x-1.x branch, the block plugin submit invalidates all render cache.

See https://git.drupalcode.org/project/google_translator/-/blob/8.x-1.x/src/...

$this->cacheRender->invalidateAll();

This seems like a heavy handed approach to managing/invalidating cache. I think pages using this block will be invalidated by its block cache tag invalidation, right?

πŸ’¬ Support request
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jasonawant New Orleans, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024