<br />
<b>Warning</b>:  Undefined array key "global_protection_id" in <b>/home/wikitechy/public_html/interview-questions/wp-content/plugins/content-protector/inc/class-ps-rest-handler.php</b> on line <b>51</b><br />
{"id":1116,"date":"2021-07-20T08:48:34","date_gmt":"2021-07-20T08:48:34","guid":{"rendered":"https:\/\/www.wikitechy.com\/interview-questions\/?p=1116"},"modified":"2021-09-08T12:07:55","modified_gmt":"2021-09-08T12:07:55","slug":"what-is-caching","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-caching\/","title":{"rendered":"What is Caching ?"},"content":{"rendered":"<div class=\"TextHeading\">\n<div class=\"hddn\">\n<h2 id=\"what-is-caching\" class=\"color-pink\" style=\"text-align: justify;\">What is Caching ?<\/h2>\n<\/div>\n<\/div>\n<div class=\"Content\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<ul>\n<li>Caching is an area of a computer\u2019s memory devoted to temporarily storing recently used data.<\/li>\n<li>In caching the content are which includes HTML pages, images, files and Web objects, is stored on the local hard drive in order to make it faster for the user to access it, which helps to develop the efficiency of the computer and its overall performance.<\/li>\n<li>For example, when a user returns to a Web page they have recently accessed, the browser can pull those files from the cache instead of the original server because it has stored the user\u2019s activity.<\/li>\n<li>The storing of that information saves the user can getting to it faster, and less time to the traffic on the network.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"TextHeading\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<h2 id=\"how-cache-works\" class=\"color-purple\">How cache works ?<\/h2>\n<\/div>\n<\/div>\n<div class=\"Content\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<ul>\n<li>When a cache client wants to access data, it first checks the cache. Cache hit is known as when the requested data is found.<\/li>\n<li>The current of attempts that result in cache hits is known as the cache hit rate or ratio.<\/li>\n<li>If the requested data isn&#8217;t found in the cache a situation known as a cache miss. It is getting from main memory and through into the cache. How this is done, and what data is ejected from the cache to make room for the new data, depends on the caching algorithm or policies the system uses.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"ImageContent\" style=\"text-align: justify;\">\n<div class=\"hddn\"><img decoding=\"async\" class=\"img-responsive center-block aligncenter\" src=\"https:\/\/cdn.wikitechy.com\/interview-questions\/operating-system\/what-is-caching.png\" alt=\"Caching Memory\" \/><\/div>\n<\/div>\n<p style=\"text-align: justify;\" align=\"center\">Caching Memory<\/p>\n<div class=\"Content\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<ul>\n<li>Web browsers, such as Internet Explorer, Firefox, Safari and Chrome, use a browser cache to develop performance of frequently accessed webpages.<\/li>\n<li>When we visit a webpage, the requested files are stored in computing storage in the browser&#8217;s cache.<\/li>\n<li>Clicking back and returning to a previous page enables from the browser to retrieve most of the files it needs from the cache instead of having them all resent from the web server.<\/li>\n<li>This approach is called read cache. The browser can read data from the browser cache much faster than from the webpage it can reread the files.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"TextHeading\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<h2 id=\"cache-algorithms\" class=\"color-purple\">Cache Algorithms<\/h2>\n<\/div>\n<\/div>\n<div class=\"Content\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<ul>\n<li>Some examples of cache algorithms they are,\n<ul>\n<li>Least Frequently Used (LFU)<\/li>\n<li>Least Recently Used (LRU)<\/li>\n<li>Most Recently Used (MRU)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"TextHeading\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<h2 id=\"least-frequently-used-lfu\" class=\"color-purple\">Least Frequently Used (LFU)<\/h2>\n<\/div>\n<\/div>\n<div class=\"Content\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<ul>\n<li>Keeps track of how often an entry is accessed. The data that has to use lowest count gets then removed first.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"TextHeading\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<h2 id=\"least-recently-used-lru\" class=\"color-purple\">Least Recently Used (LRU)<\/h2>\n<\/div>\n<\/div>\n<div class=\"Content\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<ul>\n<li>Puts recently accessed data to near the top of the cache. When the cache reaches its limit, the least recently accessed data are removed.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"TextHeading\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<h2 id=\"most-recently-used-mru\" class=\"color-purple\">Most Recently Used (MRU)<\/h2>\n<\/div>\n<\/div>\n<div class=\"Content\">\n<div class=\"hddn\">\n<ul>\n<li style=\"text-align: justify;\">Removes the most recently accessed data first. This approach is best when older items are more likely to be used.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Answer : Caching is an area of a computer\u2019s memory devoted to temporarily&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"passster_activate_protection":false,"passster_protect_child_pages":"","passster_protection_type":"password","passster_password":"","passster_activate_overwrite_defaults":"","passster_headline":"","passster_instruction":"","passster_placeholder":"","passster_button":"","passster_id":"","passster_activate_misc_settings":"","passster_redirect_url":"","passster_hide":"no","passster_area_shortcode":"","gtb_hide_title":false,"gtb_wrap_title":false,"gtb_class_title":"","gtb_remove_headerfooter":false,"footnotes":""},"categories":[7762],"tags":[195,201,491,360,5937,15899,368,7859,7845,7841,7848,7862,7839,7861,7844,7843,7847,7846,203,199,214,209,7850,205,222,484,7852,7853,7854,7856,362,196,7860,212,213,7858,207,366,361,204,7799,367,206,975,200,7851,197,280,364,7840,7837,7863,7849,7838,7855,7857,7842],"class_list":["post-1116","post","type-post","status-publish","format-standard","hentry","category-operating-system","tag-accenture-interview-questions-and-answers","tag-allstate-solutions-pvt-ltd-interview-questions-and-answers","tag-applied-materials-interview-questions-and-answers","tag-atos-interview-questions-and-answers","tag-aveva-software-interview-questions-and-answers","tag-barracuda-networks-interview-questions-and-answers","tag-bmc-software-interview-questions-and-answers","tag-cache","tag-cache-computer","tag-cache-computer-definition","tag-cache-computer-science","tag-cache-definition","tag-cache-memory","tag-cache-memory-meaning","tag-cache-pronunciation","tag-cache-terminology","tag-caching-data","tag-caching-mechanism","tag-capgemini-interview-questions-and-answers","tag-casting-networks-india-pvt-limited-interview-questions-and-answers","tag-cgi-group-inc-interview-questions-and-answers","tag-collabera-technologies-interview-questions-and-answers","tag-cpu-cache","tag-dell-international-services-india-pvt-ltd-interview-questions-and-answers","tag-flipkart-interview-questions-and-answers","tag-genpact-interview-questions-and-answers","tag-geocaching","tag-geocaching-free","tag-geocaching-map","tag-geocaching-tools","tag-hcl-technologies-interview-questions-and-answers","tag-ibm-interview-questions-and-answers","tag-importance-of-cache-memory","tag-indecomm-global-services-interview-questions-and-answers","tag-infosys-technologies-interview-questions-and-answers","tag-l3-cache","tag-mphasis-interview-questions-and-answers","tag-netapp-interview-questions-and-answers","tag-opentext-technologies-interview-questions-and-answers","tag-oracle-corporation-interview-questions-and-answers","tag-prokarma-sof-interview-questions-and-answers","tag-rbs-india-development-centre-pvt-ltd-interview-questions-and-answers","tag-sap-labs-india-pvt-ltd-interview-questions-and-answers","tag-tata-consultancy-service-interview-questions-and-answers","tag-tech-mahindra-interview-questions-and-answers","tag-types-of-cache-memory","tag-unitedhealth-group-interview-questions-and-answers","tag-virtusa-consulting-services-pvt-ltd-interview-questions-and-answers","tag-wells-fargo-interview-questions-and-answers","tag-what-is-cache-data","tag-what-is-cache-in-computer","tag-what-is-cache-memory-and-what-is-its-purpose","tag-what-is-cache-memory-in-computer","tag-what-is-caching-in-operating-system","tag-what-is-geocaching","tag-what-is-the-use-of-cache-memory","tag-write-back-cache"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What is Caching ? - Operating System Interview Questions<\/title>\n<meta name=\"description\" content=\"What is Caching ? - Caching is an area of a computer\u2019s memory devoted to temporarily storing recently used data.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-caching\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is Caching ? - Operating System Interview Questions\" \/>\n<meta property=\"og:description\" content=\"What is Caching ? - Caching is an area of a computer\u2019s memory devoted to temporarily storing recently used data.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-caching\/\" \/>\n<meta property=\"og:site_name\" content=\"Wikitechy\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-20T08:48:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-08T12:07:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.wikitechy.com\/interview-questions\/operating-system\/what-is-caching.png\" \/>\n<meta name=\"author\" content=\"Editor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Editor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-caching\/\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-caching\/\",\"name\":\"What is Caching ? - Operating System Interview Questions\",\"isPartOf\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-caching\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-caching\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdn.wikitechy.com\/interview-questions\/operating-system\/what-is-caching.png\",\"datePublished\":\"2021-07-20T08:48:34+00:00\",\"dateModified\":\"2021-09-08T12:07:55+00:00\",\"author\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757\"},\"description\":\"What is Caching ? - Caching is an area of a computer\u2019s memory devoted to temporarily storing recently used data.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-caching\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-caching\/#primaryimage\",\"url\":\"https:\/\/cdn.wikitechy.com\/interview-questions\/operating-system\/what-is-caching.png\",\"contentUrl\":\"https:\/\/cdn.wikitechy.com\/interview-questions\/operating-system\/what-is-caching.png\"},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#website\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/\",\"name\":\"Wikitechy\",\"description\":\"Interview Questions\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757\",\"name\":\"Editor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"caption\":\"Editor\"},\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/author\/editor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is Caching ? - Operating System Interview Questions","description":"What is Caching ? - Caching is an area of a computer\u2019s memory devoted to temporarily storing recently used data.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-caching\/","og_locale":"en_US","og_type":"article","og_title":"What is Caching ? - Operating System Interview Questions","og_description":"What is Caching ? - Caching is an area of a computer\u2019s memory devoted to temporarily storing recently used data.","og_url":"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-caching\/","og_site_name":"Wikitechy","article_published_time":"2021-07-20T08:48:34+00:00","article_modified_time":"2021-09-08T12:07:55+00:00","og_image":[{"url":"https:\/\/cdn.wikitechy.com\/interview-questions\/operating-system\/what-is-caching.png"}],"author":"Editor","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Editor","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-caching\/","url":"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-caching\/","name":"What is Caching ? - Operating System Interview Questions","isPartOf":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-caching\/#primaryimage"},"image":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-caching\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.wikitechy.com\/interview-questions\/operating-system\/what-is-caching.png","datePublished":"2021-07-20T08:48:34+00:00","dateModified":"2021-09-08T12:07:55+00:00","author":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757"},"description":"What is Caching ? - Caching is an area of a computer\u2019s memory devoted to temporarily storing recently used data.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-caching\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-caching\/#primaryimage","url":"https:\/\/cdn.wikitechy.com\/interview-questions\/operating-system\/what-is-caching.png","contentUrl":"https:\/\/cdn.wikitechy.com\/interview-questions\/operating-system\/what-is-caching.png"},{"@type":"WebSite","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website","url":"https:\/\/www.wikitechy.com\/interview-questions\/","name":"Wikitechy","description":"Interview Questions","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757","name":"Editor","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","caption":"Editor"},"url":"https:\/\/www.wikitechy.com\/interview-questions\/author\/editor\/"}]}},"_links":{"self":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/1116","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/comments?post=1116"}],"version-history":[{"count":3,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/1116\/revisions"}],"predecessor-version":[{"id":3062,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/1116\/revisions\/3062"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/media?parent=1116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/categories?post=1116"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/tags?post=1116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}