What is the difference between cache.put(), cache.add(), and cache.addAll()? How do you implement a cache-first vs network-first strategy? | Web Workers | javascript Interview Questions | NextRound.in