How is cache.put coordinated when two concurrent requests in the same worker attempt to update the c

How is cache.put coordinated when two concurrent requests in the same worker attempt to update the cache for the same cache key? Specifically in the case when both requests only .put after a .match failed. I’m assuming since there is no mutex or other lock mechanism that it’s basically “last request wins.
Was this page helpful?