Toot

Written by ⌬⊹ 0x57e11a 📿🔧 :nixos::r_tomscott_point::r_kiss_girlxgirl::green: on 2025-01-10 at 03:12

@yojimbo oh ofc, having it only be loaded when the user needs to render it is far better! but to avoid the mess that is trusting the client’s upload, why not have the user ask the server for the cached media, and from then the server can handle making the request to the source url?

a cache hit:

|--cache please->|

|<-cached media--|

a cache miss (with client fetching media, your solution, 3 requests)

| |--cache please->|

| |<-no------------|

|<-media please---|

|----------media->|

| |----cache this->|

| |<-ok------------|

a cache miss (with server fetching media, this ones solution, 2 requests)

|--cache please->| |

| |---media please->|

| |<-media----------|

|<-media---------| |

=> More informations about this toot | View the thread | More toots from 0x57e11a@void.lgbt

Mentions

=> View yojimbo@hackers.town profile

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113801871300223765
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
200.580974 milliseconds
Gemini-to-HTML Time
0.871777 milliseconds

This content has been proxied by September (ba2dc).