I am not sure if there is a clear reason as to why this tag is being added to the profile entity type.
But it seams a little odd that when you load a profile entity that it invalidates the user_view cache.

https://git.drupalcode.org/project/profile/blob/8.x-1.x/src/Entity/Profi...

CommentFileSizeAuthor
#2 3075519_2-profile-cache-tags.patch409 bytesMorinLuc0
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

MorinLuc0 created an issue. See original summary.

MorinLuc0’s picture

Here is a patch to remove it incase anyone else has come accross the same issue.

bojanz’s picture

Title: user_view cache tags » Do not invalidate user caches when the profile is saved

This is leftover code from when the module altered-in rendered profiles to the user page.
We now use a regular widget for that, which ensures that the right cache tags are set.
Let's remove the entire method.

  • bojanz committed 9f98de6 on 8.x-1.x authored by MorinLuc0
    Issue #3075519 by MorinLuc0, bojanz: Do not invalidate user caches when...
bojanz’s picture

Status: Active » Fixed

Modified the patch and committed. Thanks!

Status: Fixed » Closed (fixed)

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