Content pfp
Content
@
0 reply
0 recast
0 reaction

Dan Romero pfp
Dan Romero
@dwr.eth
If Warpcast was open source, what are 1-2 things you would want to learn how we do?
38 replies
9 recasts
72 reactions

Darryl Yeo đŸ› ïž pfp
Darryl Yeo đŸ› ïž
@darrylyeo
Resolution and caching of frame and image URLs. (Warpcast still can’t seem to consistently decide if skiffle.dev is a frame or an image 😕) https://warpcast.com/darrylyeo/0xbca1753e
1 reply
0 recast
1 reaction

Dan Romero pfp
Dan Romero
@dwr.eth
What is specifically hard about this?
1 reply
0 recast
0 reaction

Darryl Yeo đŸ› ïž pfp
Darryl Yeo đŸ› ïž
@darrylyeo
SKIFFLE overloads URLs to return either frame HTML or an image based on HTTP content-type negotiation. Hasn’t worked as expected and it's hard to debug without knowing how the resolver works. Specifically: 1) the order it checks URLs for images or frame data 2) what Accept headers are sent when 3) caching behavior
1 reply
0 recast
0 reaction

Darryl Yeo đŸ› ïž pfp
Darryl Yeo đŸ› ïž
@darrylyeo
Two things I think would help: 1) If Warpcast knows a URL is meant to be a frame image based on the meta tags, it should send an `Accept` header equivalent to the HTML `<img>` tag in browsers e.g. `image/*` 2) Cache should be indexed by both URL and embed type, not just URL (assuming that’s how it currently works)
1 reply
0 recast
0 reaction

Darryl Yeo đŸ› ïž pfp
Darryl Yeo đŸ› ïž
@darrylyeo
cc @cassie (we chatted about this during /farcon)
0 reply
0 recast
1 reaction