ABCxFF / diepcustom

An open source diep.io custom private-server template
https://diepcustom.herokuapp.com/
GNU Affero General Public License v3.0
69 stars 60 forks source link

Cache API Responses on the Client #121

Open Nul-led opened 1 year ago

Nul-led commented 1 year ago

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.

supahero1 commented 1 year ago

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

Nul-led commented 1 year ago

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