Needs review
Project:
Domain Site Settings
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Oct 2017 at 07:12 UTC
Updated:
15 Mar 2023 at 03:53 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mistrae commentedOk I just find out this is a cache problem.
Once you cached a frontpage, this become the frontpage from every domain.
Comment #3
mistrae commentedAdding : 'url.site' in the required_cache_contexts and contexts of services.yml seems to fix this issue.
Comment #4
jacobbell84 commentedWe're running into some cache related issues on our side as well. Hopefully this fixes all of them. I copied the approach other ConfigOverride classes use, which is setting the cache contexts in the getCacheableMetadata function. Not sure if it matters or not, I couldn't find any documentation on the differences.
Comment #5
jacobbell84 commentedComment #6
jacobbell84 commented