Which of the following caching strategies fetches the resource from the cache first, and if not present, then fetches it from the network?

  • Cache-First
  • Cache-Only
  • Network-First
  • Network-Only
The caching strategy that fetches the resource from the cache first and, if not present, then fetches it from the network is known as "Cache-First." In this strategy, the browser checks the cache for a response before making a network request. This approach helps improve website performance and load times by serving resources from the cache when available.
Add your answer
Loading...

Leave a comment

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