Use core route provider with addExtraCacheKeyPart for route caching?

Created on 9 May 2023, over 1 year ago

DomainRouteProvider decorator was introduced in 8.x-1.0-beta3 to alter the cache cid so that domains can be distinguished.

I'm asking whether it would make sense to use the core route provider with addExtraCacheKeyPart('domain', $domain_id) instead.

Using addExtraCacheKeyPart() seems more consistent with how core expects to modify cache cid.

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States drpldrp San Francisco, CA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024