{"id":4554,"date":"2022-04-24T12:17:33","date_gmt":"2022-04-24T12:17:33","guid":{"rendered":"https:\/\/elementor.com\/resources\/?p=4554"},"modified":"2022-04-24T12:17:34","modified_gmt":"2022-04-24T12:17:34","slug":"what-is-caching","status":"publish","type":"post","link":"https:\/\/elementor.com\/resources\/glossary\/what-is-caching\/","title":{"rendered":"What Is Caching?"},"content":{"rendered":"\n<p>Caching is data storage that enables high-speed fast access to computed or previously retrieved data rather than accessing its primary storage location.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How Does Caching work?<\/h2>\n\n\n\n<p>Cached data in a cache is usually stored in quickly accessible hardware like RAM (Random-access Memory) and can be used with a software component. A cache&#8217;s fundamental purpose is to improve data retrieval execution by avoiding accessing the slower, underlying storage layer. For example, a typical database offers durable and complete data storage while cashing stores a data subset transiently.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Benefits of Caching<\/h2>\n\n\n\n<p>There are several reasons for cashing:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Improved application performance: Reading data from the in-memory cache is sub-milliseconds. This access improves overall application performance.<\/li><li>Reduced database costs: One cache instance can provide thousands of IOPS (Input\/output operations per second), replacing the number of database instances, driving total costs down &#8211; especially if the primary database charges per throughput.<\/li><li>Reduce back-end database load: Reducing back-end loads by redirecting parts to the in-memory layer prevents slow performance or crashing during spikes.<\/li><li>Performance predictability: Using a high throughput in-memory cache mitigates unpredictable spike times in app usage and thereby latent data accessibility, such as <a class=\"wpil_keyword_link\" href=\"https:\/\/elementor.com\/features\/ecommerce\/\"   title=\"eCommerce\" data-wpil-keyword-link=\"linked\">eCommerce<\/a> sites on Black Friday or election day.&nbsp;<\/li><li>Removes database hotspots: Storing standard keys in an in-memory cache reduces the overprovision of database resources for your most frequently accessed data (such as a popular product) while providing fast and predictable performance.<\/li><li>Increases read throughput (IOPS): Besides less latency, in-memory systems offer higher request rates (IOPS) concerning comparable disk-based databases. For example, one instance used as a distributed side-cache can serve thousands of requests a second.<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Key Takeaway<\/h2>\n\n\n\n<p>Rather than relying on slower disk-based databases, Caching data improves web app performance by enabling fast, managed in-memory storage.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Caching is data storage that enables high-speed fast access to computed or previously retrieved data rather than accessing its primary storage location<\/p>\n","protected":false},"author":1292159,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_angie_page":false,"page_builder":"","footnotes":""},"categories":[15,35],"tags":[16],"class_list":["post-4554","post","type-post","status-publish","format-standard","hentry","category-glossary","category-hosting","tag-build"],"acf":[],"_links":{"self":[{"href":"https:\/\/elementor.com\/resources\/wp-json\/wp\/v2\/posts\/4554","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elementor.com\/resources\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elementor.com\/resources\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elementor.com\/resources\/wp-json\/wp\/v2\/users\/1292159"}],"replies":[{"embeddable":true,"href":"https:\/\/elementor.com\/resources\/wp-json\/wp\/v2\/comments?post=4554"}],"version-history":[{"count":1,"href":"https:\/\/elementor.com\/resources\/wp-json\/wp\/v2\/posts\/4554\/revisions"}],"predecessor-version":[{"id":4555,"href":"https:\/\/elementor.com\/resources\/wp-json\/wp\/v2\/posts\/4554\/revisions\/4555"}],"wp:attachment":[{"href":"https:\/\/elementor.com\/resources\/wp-json\/wp\/v2\/media?parent=4554"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elementor.com\/resources\/wp-json\/wp\/v2\/categories?post=4554"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elementor.com\/resources\/wp-json\/wp\/v2\/tags?post=4554"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}