2 ms·
Although that implies that you need to cache that location to upload somewhere and request it from your own cache. Also, you need to write error-handling code (
by aftbit 7y ago
Although that implies that you need to cache that location to upload somewhere and request it from your own cache. Also, you need to write error-handling code (which will only fire rarely, so is hard to test) to deal with redirects or fall back to re-fetching the location if it changes.
These things are not particularly difficult, but they require additional mind-space to accommodate. Most developers will just do the simplest thing that works, performance be damned. If the simplest path is slow, they'll just remember "B2 is slow", no matter how unfair that is.