The strategy that prioritizes network requests over cache, but falls back to cache if the network is unavailable, is called ________.

  • Cache-First
  • Cache-Only
  • Network-First
  • Network-Only
The strategy that prioritizes network requests over cache but falls back to cache if the network is unavailable is called "Cache-First." This approach optimizes performance by serving cached content when possible while ensuring the latest data is fetched when the network is available, making it a common strategy for progressive web applications (PWAs) and service workers.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *