Content pfp
Content
@
https://warpcast.com/~/channel/frames-v2
0 reply
0 recast
0 reaction

myk.eth pfp
myk.eth
@myk
Question: If my server updates the image that gets resolved by frame's image url, will that be visible on casts who have previously posted my frame or only on a go-forward basis due to caching?
1 reply
0 recast
0 reaction

horsefacts ๐Ÿš‚ pfp
horsefacts ๐Ÿš‚
@horsefacts.eth
we read the cache headers on your image. if you set a low max-age they will refresh. but if you accidentally set them to a high max-age (which is the default for static assets in many web frameworks), you may need to change the image URL to get them to update. this would only affect new embeds. https://docs.farcaster.xyz/developers/frames/advanced#making-the-initial-frame-image-dynamic
2 replies
0 recast
1 reaction

horsefacts ๐Ÿš‚ pfp
horsefacts ๐Ÿš‚
@horsefacts.eth
the Warpcast Mints frame uses a dynamic embed image. here's how we do it: https://github.com/warpcast/mint-frame/blob/d300c4d168c292613650173a3838ee4b5265035b/src/app/api/og/route.tsx#L259-L269
1 reply
0 recast
2 reactions

myk.eth pfp
myk.eth
@myk
Amazing 77 $DEGEN
0 reply
0 recast
0 reaction