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

matt ๐Ÿ’ญ pfp
matt ๐Ÿ’ญ
@matthewmorek
they've been caching GET requests by default all along. one of many Next.js blackbox shenanigans you gotta be prepared for
1 reply
0 recast
4 reactions

Michael Pfister pfp
Michael Pfister
@pfista
yikes!!
0 reply
0 recast
0 reaction