Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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...
Comment | File | Size | Author |
---|---|---|---|
#2 | 3075519_2-profile-cache-tags.patch | 409 bytes | MorinLuc0 |
Comments
Comment #2
MorinLuc0 CreditAttribution: MorinLuc0 commentedHere is a patch to remove it incase anyone else has come accross the same issue.
Comment #3
bojanz CreditAttribution: bojanz commentedThis 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.
Comment #5
bojanz CreditAttribution: bojanz commentedModified the patch and committed. Thanks!