Skip to content

Commit

Permalink
Set no cache at API list
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusgr committed Feb 13, 2025
1 parent cc4abfb commit ef35edf
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions linx/loaders/auction/apiList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit ef35edf

Please sign in to comment.