Filelock the cache when initally loading each api. This avoids them all writining to it. If it wins the lock, upadate the cache if enabled as it currently does. Else, Block forever until you get the lock, then load the cache with update always set to false.
Filelock the cache when initally loading each api. This avoids them all writining to it. If it wins the lock, upadate the cache if enabled as it currently does. Else, Block forever until you get the lock, then load the cache with update always set to false.