4 ms·
You write this boilerplate to avoid one extra non-cached HTTP call on a (browser?) client? Am I understanding correctly?
by jnbiche 7y ago
You write this boilerplate to avoid one extra non-cached HTTP call on a (browser?) client? Am I understanding correctly?
- deleted 7y ago[deleted]
- matharmin 7y agoIt's really not a lot of boilerplate - once you have the small utility function, it can be one additional line of code.
- londons_explore 7y agoOne extra call could be a multi-megabyte video chunk, or the code flow might mean this case always occurs, potentially hundreds of times before the promise resolves.