next-drupal icon indicating copy to clipboard operation
next-drupal copied to clipboard

Add locale to ?tags= parameters

Open GeneralBouLi opened this issue 7 months ago • 0 comments

Package

next (Drupal module)

Describe the feature request

Hello,

We have a multilingual site, and the Cache Tag invalidation doesn't provide information about the language of the entity to be invalidated. Example for a media type name photo with mid 80 : /api/revalidate?tags=media:080,media_list,media_list:photo&secret=

Would it be possible to add the parameter ,locale:en for example ?

GeneralBouLi avatar Jun 26 '25 13:06 GeneralBouLi