Caching getSignedUrl without DB?

In my tRPC using app, I store image files on Cloudflare R2. The client browse these images by listing them over a query method, that generates a signed url for each with getSignedUrl. However for each request the client makes, these signed URL change all the time, making the browser really overfetch these resources. My idea was storing these signed URLs in the db, but I don't like the extra latency the DB reads would introduce. Making getSignedUrl deterministic would be a much cleaner solution, unfortunately the package doesn't support this. What are my options here?
N
Neto13d ago
indexeddb
N
Neto13d ago
MDN Web Docs
IndexedDB API - Web APIs | MDN
IndexedDB is a low-level API for client-side storage of significant amounts of structured data, including files/blobs. This API uses indexes to enable high-performance searches of this data. While Web Storage is useful for storing smaller amounts of data, it is less useful for storing larger amounts of structured data. IndexedDB provides a solut...