diepcustom icon indicating copy to clipboard operation
diepcustom copied to clipboard

Cache API Responses on the Client

Open Nul-led opened this issue 2 years ago • 2 comments

Cache them on the client, store a hash, send hash to server, compare with server hash, send back new data if necessary. Speeds up client loading times significantly.

Nul-led avatar Jan 25 '23 22:01 Nul-led

this is what the http protocol is already perfectly suited to do. no need to reinvent the wheel. see ETAG.

supahero1 avatar Jan 25 '23 23:01 supahero1

this is what the http protocol is already perfectly suited to do. no need to reinvent the wheel. see ETAG.

interesting, thanks for the hint

Nul-led avatar Jan 25 '23 23:01 Nul-led