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.
When an entity is rendered inside an ajax popup after a marker is clicked, its rendered cache is not being updated properly as the only cache tag it has is http_response
when page cache is active.
- As anomymous: Click on any marker to show the information of an entity
- As admin: change the title of the clicked entity
- As anoymous: Reload the page and click on the same marker.
- No changes, the rendered cache for the entity has not been invalidated as expected.
Comment | File | Size | Author |
---|---|---|---|
#2 | 0001-Add-entity-in-popup-as-a-cacheable-dependency.patch | 1011 bytes | BetoAveiga |
Comments
Comment #2
BetoAveigaTo solve the issue it is possible to add the entity as a cacheable dependency of the html response.
Comment #3
marcoscano👍 Looks good to me!
Comment #4
itamair CreditAttribution: itamair commentedthanks @BetoAveiga nice contribution ... committed into dev, being part of the next release.
Comment #6
itamair CreditAttribution: itamair commented