hoodiehq / hoodie-client

:dog: Client API for the Hoodie server
Apache License 2.0
34 stars 25 forks source link

request pooling #81

Open gr2m opened 8 years ago

gr2m commented 8 years ago

follow up for https://github.com/hoodiehq/hoodie/issues/118

Basic idea is to pool GET request, e.g. when executing hoodie.request('/hoodie/api') in quick succession it will not send multiple requests, but only send one request and return the promise for the others.

Let’s debate if this is still something we want. I’m not sure if this is still an issue with the new Hoodie at all, probably not