From ef35edf400b4e3d9f2f25e0947350662dde584b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matheus=20Gaudencio=20do=20R=C3=AAgo?= Date: Thu, 13 Feb 2025 12:59:44 -0300 Subject: [PATCH] Set no cache at API list --- linx/loaders/auction/apiList.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/linx/loaders/auction/apiList.ts b/linx/loaders/auction/apiList.ts index 3a61fd539..4cb913663 100644 --- a/linx/loaders/auction/apiList.ts +++ b/linx/loaders/auction/apiList.ts @@ -32,12 +32,6 @@ const loader = ( return responsePromise; }; -export const cache = "stale-while-revalidate"; - -export const cacheKey = (_props: unknown, req: Request, _ctx: AppContext) => { - const url = new URL(req.url); - url.pathname = "/v1/Catalog/API.svc/web/SearchProductAuctions"; - return url.href; -}; +export const cache = "no-cache"; export default loader;