Metatag discards cacheability metadata, results in a performance hit

Created on 13 March 2019, over 6 years ago
Updated 21 July 2025, about 23 hours ago

Problem/Motivation

On my local site with render caching and dynamic page cache enabled, but page cache off - I'm seeing metatag_entity_view_alter take 8% of the page load time. Most of that is spent in _metatag_remove_duplicate_entity_tags

Proposed resolution

Profile and see if we can improve

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia larowlan πŸ‡¦πŸ‡ΊπŸ.au GMT+10

Live updates comments and jobs are added and updated live.
  • needs profiling

    It may affect performance, and thus requires in-depth technical reviews and profiling.

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