Content
@
0 reply
4 recasts
4 reactions
Simon ๐
@schmidsi
Hello fellow Frames buidlers, I'm trying to create a Frame that gets the latest punk sale. So far it works but I'm struggling with the "refresh" button. In the docs it's written: "A frame server should add timestamp parameters to image urls to bust caches in responses" but it doesn't work. https://frames.schmidsi.xyz
3 replies
5 recasts
15 reactions
philipplgh
@philipplgh.eth
The ts seems fine.. my gut feeling is you are running into nextjs caching issues something like dynamic = 'force-dynamic' + headers could do the trick https://nextjs.org/docs/app/building-your-application/caching
3 replies
0 recast
0 reaction
philipplgh
@philipplgh.eth
Nice app btw ๐ค ๐ค
0 reply
0 recast
1 reaction
Simon ๐
@schmidsi
So you were right, I did not properly skip Vercel/Next.js caching. Now that works, we can check here: frames(dot)schmidsi(dot)xyz. This is the commit that does this for later readers: https://github.com/schmidsi/cryptopunks-frames/commit/f7dbd7cd853d9e9ca9c098caeab46cb469e0d11e But it still does not work ...
1 reply
0 recast
1 reaction
Simon ๐
@schmidsi
Yep, I missed Vercel caching. But it did not work on my localhost tunnel via ngrok. Will tinker a bit more.
0 reply
0 recast
1 reaction