fix: enable force-cache for CurrentFooter and booking widget toggle query
This commit is contained in:
@@ -422,6 +422,7 @@ export const baseQueryRouter = router({
|
|||||||
locale: input.lang,
|
locale: input.lang,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
cache: "force-cache",
|
||||||
next: {
|
next: {
|
||||||
tags: [generateTag(input.lang, currentFooterUID)],
|
tags: [generateTag(input.lang, currentFooterUID)],
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -70,6 +70,7 @@ export const bookingwidgetQueryRouter = router({
|
|||||||
locale: lang,
|
locale: lang,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
cache: "force-cache",
|
||||||
next: {
|
next: {
|
||||||
tags: [generateTag(lang, uid, bookingwidgetAffix)],
|
tags: [generateTag(lang, uid, bookingwidgetAffix)],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user