DEV Community

Discussion on: Cache API in JavaScript - with just 20 lines of code.

Collapse
 
ggaulard profile image
Guillaume Gaulard

What happen if you get the same data at the same url very closely, the first call didn't finished so you make two calls instead of one

Collapse
 
rajeshroyal profile image
Rajesh Royal

Didn't understand much, can you please explain a bit more.