fix: enable force-cache for CurrentFooter and booking widget toggle query

This commit is contained in:
Joakim Jäderberg
2024-11-20 08:43:55 +01:00
parent b7ffc8588d
commit 84f2bc4c07
2 changed files with 2 additions and 0 deletions

View File

@@ -422,6 +422,7 @@ export const baseQueryRouter = router({
locale: input.lang,
},
{
cache: "force-cache",
next: {
tags: [generateTag(input.lang, currentFooterUID)],
},

View File

@@ -70,6 +70,7 @@ export const bookingwidgetQueryRouter = router({
locale: lang,
},
{
cache: "force-cache",
next: {
tags: [generateTag(lang, uid, bookingwidgetAffix)],
},