Merged in fix/destination-pages-cache-keys (pull request #1642)

Fix/destination pages cache keys

* fix(destionationpages): add tag to citydatabycityidentifier that should invalidate when publishing city

* Fixed building tag the same way and added comment why we need this extra tag


Approved-by: Erik Tiekstra
This commit is contained in:
Linus Flood
2025-03-26 13:04:18 +00:00
parent ee741cc0e8
commit 3456235dd0
4 changed files with 20 additions and 1 deletions

View File

@@ -90,7 +90,7 @@ export async function getCityListDataByCityIdentifier(
cityIdentifier,
},
{
key: `${lang}:city_list_data:${cityIdentifier}`,
key: generateTag(lang, `city_list_data:${cityIdentifier}`),
ttl: "max",
}
)