Content pfp
Content
@
0 reply
0 recast
2 reactions

Michael Pfister pfp
Michael Pfister
@pfista
got caught off guard by vercels data cache... we call the hypersub smart contract to get a users remaining time via serverless function the calls are made with viem/alchemy, which uses fetch under the hood I guess vercel started caching fetch requests recently? this led to subscriptions not being recognized in our app ๐Ÿ˜ž
8 replies
2 recasts
39 reactions

MOฮž pfp
MOฮž
@moe
i believe viem has a way to set cache headers for http requests. but not sure if vercel would respect that.
1 reply
0 recast
1 reaction

Michael Pfister pfp
Michael Pfister
@pfista
https://warpcast.com/iain/0x5bd81cc5 Gonna try this
1 reply
0 recast
2 reactions