Content
@
0 reply
0 recast
0 reaction
jp π©
@jpfraneto.eth
the refreshing of the image cache is for the next time that the frame that is on a given url is shared? or the image of that frame casted on a given cast? if you see this exact same cast in 6 hours: will you see a different image? or will it only change the next time the frame is shared, in a new cast? https://pfp-collage-test.vercel.app/api
2 replies
0 recast
4 reactions
jp π©
@jpfraneto.eth
@undefined @matthewfox @downshift.eth @stephancill you may know the answer to this
1 reply
0 recast
0 reaction
Stephan
@stephancill
the frame image will update whenever it reappears appears in the user's feed because it has a Cache-Control header
1 reply
0 recast
0 reaction
jp π©
@jpfraneto.eth
where did you see that? im trying to figure why this one isn't refreshing https://www.vibra.so/stream/jpfraneto
2 replies
0 recast
0 reaction
Stephan
@stephancill
you need to make an endpoint on your server that returns the image and the headers on the image response itself, not the frame metadata
1 reply
0 recast
0 reaction
downshift - ΞΌ/acc
@downshift.eth
π―
1 reply
0 recast
0 reaction
jp π©
@jpfraneto.eth
like this? first image is the response from the server second image is that being called from the generateMetadata function of the nextjs frontend (I tried implementing framesjs but it felt like an overkill because this is the only part of the frame that is rendered from this app, the rest is a separate frog server)
1 reply
0 recast
0 reaction