diff --git a/web/pages/api/v0/market/[id].ts b/web/pages/api/v0/market/[id].ts index d9376b69..d1d676a3 100644 --- a/web/pages/api/v0/market/[id].ts +++ b/web/pages/api/v0/market/[id].ts @@ -24,7 +24,6 @@ export default async function handler( return } - // Cache on Vercel edge servers for 2min - res.setHeader('Cache-Control', 'max-age=0, s-maxage=120') + res.setHeader('Cache-Control', 'max-age=0') return res.status(200).json(toFullMarket(contract, comments, bets)) } diff --git a/web/pages/api/v0/slug/[slug].ts b/web/pages/api/v0/slug/[slug].ts index b0c71171..655b63a2 100644 --- a/web/pages/api/v0/slug/[slug].ts +++ b/web/pages/api/v0/slug/[slug].ts @@ -24,7 +24,6 @@ export default async function handler( listAllComments(contract.id), ]) - // Cache on Vercel edge servers for 2min - res.setHeader('Cache-Control', 'max-age=0, s-maxage=120') + res.setHeader('Cache-Control', 'max-age=0') return res.status(200).json(toFullMarket(contract, comments, bets)) }