Domain module may override site_name variable, which is cached by the Metatag module. As a result, wrong page title may appear.

I don't sure that this issue should be addressed to Metatag queue, because Metatag provides hook_metatag_page_cache_cid_parts_alter() which allows make Metatag cache domain specific.

Comments

leksat’s picture

Status: Active » Needs review
StatusFileSize
new620 bytes
agentrickard’s picture

Makes sense. I'm not a fan of contrib-specific hooks in the module, but this looks clean.

Any way to test it?

  • agentrickard committed 09d8a35 on 7.x-3.x
    Issue #2089917 by Leksat: Make Metatag cache domain specific
    
agentrickard’s picture

Issue summary: View changes
Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

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

agentrickard’s picture