2025-07-02 01:03:16 +00:00

152 lines
62 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en-US" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Debugging | Axios Cache Interceptor</title>
<meta name="generator" content="VitePress v1.6.3">
<link rel="preload stylesheet" href="/assets/style.DBZ2mUnf.css" as="style">
<link rel="preload stylesheet" href="/vp-icons.css" as="style">
<script type="module" src="/assets/app.CV8rxk1B.js"></script>
<link rel="preload" href="/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin="">
<link rel="modulepreload" href="/assets/chunks/theme.CLwBSC24.js">
<link rel="modulepreload" href="/assets/chunks/framework.BMt02pqg.js">
<link rel="modulepreload" href="/assets/guide_debugging.md.UnEQ_jX4.lean.js">
<link rel="icon" href="/favicon.ico', type: 'image/x-icon">
<link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/manifest.json">
<meta name="msapplication-TileColor" content="#e5972a">
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
<meta name="theme-color" content="#e5972a">
<meta name="description" content="Small and efficient cache interceptor for axios. Etag, Cache-Control, TTL, HTTP headers and more!">
<meta property="og:url" content="https://axios-cache-interceptor.js.org">
<meta property="og:type" content="website">
<meta property="og:title" content="Axios Cache Interceptor">
<meta property="og:description" content="Small and efficient cache interceptor for axios. Etag, Cache-Control, TTL, HTTP headers and more!">
<meta property="og:image" content="/preview.png">
<meta name="twitter:card" content="summary_large_image">
<meta property="twitter:domain" content="axios-cache-interceptor.js.org">
<meta property="twitter:url" content="https://axios-cache-interceptor.js.org">
<meta name="twitter:title" content="Axios Cache Interceptor">
<meta name="twitter:description" content="Small and efficient cache interceptor for axios. Etag, Cache-Control, TTL, HTTP headers and more!">
<meta name="twitter:image" content="/preview.png">
<meta name="google-site-verification" content="u9Nw6WpRrWDhdPTAv-LGIE9aJ0C15t7zkjuaUizDJnA">
<script defer data-domain="axios-cache-interceptor.js.org" src="https://metrics.arthur.one/js/script.js"></script>
<script type="application/ld+json">{"@context":"http://www.schema.org","@type":"Organization","name":"Axios Cache Interceptor","url":"https://axios-cache-interceptor.js.org","sameAs":["https://github.com/ArthurFiorette/axios-cache-interceptor"],"datePublished":"2022-01-17","dateModified":"2022-01-17","logo":"https://axios-cache-interceptor.js.org/preview.png","image":"https://axios-cache-interceptor.js.org/preview.png","description":"Axios Cache Interceptor is a small and efficient cache interceptor for axios.","headline":"A small and efficient cache interceptor for axios."}</script>
<script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
<script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
</head>
<body>
<div id="app"><div class="Layout" data-v-2f1abc55><!--[--><!--]--><!--[--><span tabindex="-1" data-v-891d2dbf></span><a href="#VPContent" class="VPSkipLink visually-hidden" data-v-891d2dbf>Skip to content</a><!--]--><!----><header class="VPNav" data-v-2f1abc55 data-v-c248ef10><div class="VPNavBar" data-v-c248ef10 data-v-80352bc2><div class="wrapper" data-v-80352bc2><div class="container" data-v-80352bc2><div class="title" data-v-80352bc2><div class="VPNavBarTitle has-sidebar" data-v-80352bc2 data-v-6ffdb50f><a class="title" href="/" data-v-6ffdb50f><!--[--><!--]--><!--[--><img class="VPImage logo" src="/rocket.svg" alt data-v-d6abd3ac><!--]--><span data-v-6ffdb50f>Axios Cache Interceptor</span><!--[--><!--]--></a></div></div><div class="content" data-v-80352bc2><div class="content-body" data-v-80352bc2><!--[--><!--]--><div class="VPNavBarSearch search" data-v-80352bc2><!--[--><!----><div id="docsearch"><button type="button" class="DocSearch DocSearch-Button" aria-label="Search"><span class="DocSearch-Button-Container"><span class="vp-icon DocSearch-Search-Icon"></span><span class="DocSearch-Button-Placeholder">Search</span></span><span class="DocSearch-Button-Keys"><kbd class="DocSearch-Button-Key"></kbd><kbd class="DocSearch-Button-Key">K</kbd></span></button></div><!--]--></div><nav aria-labelledby="main-nav-aria-label" class="VPNavBarMenu menu" data-v-80352bc2 data-v-c9118f41><span id="main-nav-aria-label" class="visually-hidden" data-v-c9118f41> Main Navigation </span><!--[--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/guide" tabindex="0" data-v-c9118f41 data-v-fd422bda><!--[--><span data-v-fd422bda>Guide</span><!--]--></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/config" tabindex="0" data-v-c9118f41 data-v-fd422bda><!--[--><span data-v-fd422bda>Config</span><!--]--></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/others/license" tabindex="0" data-v-c9118f41 data-v-fd422bda><!--[--><span data-v-fd422bda>Others</span><!--]--></a><!--]--><!--[--><div class="VPFlyout VPNavBarMenuGroup" data-v-c9118f41 data-v-8abf0d2b><button type="button" class="button" aria-haspopup="true" aria-expanded="false" data-v-8abf0d2b><span class="text" data-v-8abf0d2b><!----><span data-v-8abf0d2b>Latest</span><span class="vpi-chevron-down text-icon" data-v-8abf0d2b></span></span></button><div class="menu" data-v-8abf0d2b><div class="VPMenu" data-v-8abf0d2b data-v-d5080b2f><div class="items" data-v-d5080b2f><!--[--><!--[--><div class="VPMenuLink" data-v-d5080b2f data-v-8d41ad25><a class="VPLink link vp-external-link-icon" href="https://axios-cache-interceptor.js.org/v0/" target="_blank" rel="noreferrer" data-v-8d41ad25><!--[--><span data-v-8d41ad25>v0.x</span><!--]--></a></div><!--]--><!--]--></div><!--[--><!--]--></div></div></div><!--]--><!--]--></nav><!----><div class="VPNavBarAppearance appearance" data-v-80352bc2 data-v-33c40f4b><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title aria-checked="false" data-v-33c40f4b data-v-5381293b data-v-36ca7a61><span class="check" data-v-36ca7a61><span class="icon" data-v-36ca7a61><!--[--><span class="vpi-sun sun" data-v-5381293b></span><span class="vpi-moon moon" data-v-5381293b></span><!--]--></span></span></button></div><div class="VPSocialLinks VPNavBarSocialLinks social-links" data-v-80352bc2 data-v-6a8c6d2f data-v-185fb790><!--[--><a class="VPSocialLink no-icon" href="https://axios-cache-interceptor.js.org/discord" aria-label="discord" target="_blank" rel="noopener" data-v-185fb790 data-v-a9d38563><span class="vpi-social-discord"></span></a><a class="VPSocialLink no-icon" href="https://github.com/arthurfiorette/axios-cache-interceptor" aria-label="github" target="_blank" rel="noopener" data-v-185fb790 data-v-a9d38563><span class="vpi-social-github"></span></a><a class="VPSocialLink no-icon" href="https://npmjs.com/package/axios-cache-interceptor" aria-label target="_blank" rel="noopener" data-v-185fb790 data-v-a9d38563><svg xmlns="http://www.w3.org/2000/svg" role="img" viewBox="0 0 24 24"><title>npm</title><path d="M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z"/></svg></a><a class="VPSocialLink no-icon" href="https://www.jsdelivr.com/package/npm/axios-cache-interceptor" aria-label target="_blank" rel="noopener" data-v-185fb790 data-v-a9d38563><svg xmlns="http://www.w3.org/2000/svg" role="img" viewBox="0 0 24 24"><title>jsDelivr</title><path d="M11.851 0L.811 4.02l1.56 14.7L11.85 24l9.6-5.28 1.74-14.76zm.062 4.622a6.668 6.75 0 0 1 2.666.572 12.507 12.507 0 0 0-2.59 1.95c-.045-.02-.092-.031-.138-.045a1.181 1.181 0 0 0-.346-.056c-.071 0-.141.01-.21.021a8.91 8.91 0 0 1-.615-2.318 6.668 6.75 0 0 1 1.171-.122 6.668 6.75 0 0 1 .062-.002zm-1.99.312a9.763 9.763 0 0 0 .69 2.504 1.213 1.213 0 0 0-.328.825 1.202 1.202 0 0 0 .18.63c-.937 1.294-1.656 2.803-1.905 4.31-.01.056-.013.11-.02.166-.282.09-.515.284-.656.54-.987-.333-1.885-.968-2.615-2.022a6.668 6.75 0 0 1-.026-.515 6.668 6.75 0 0 1 4.68-6.438zm5.507.709a6.668 6.75 0 0 1 2.53 2.9c-.377.953-1.049 1.892-1.893 2.727a1.242 1.242 0 0 0-.644-.184 1.243 1.243 0 0 0-.768.27c-.462-.354-.91-.737-1.318-1.168-.333-.35-.637-.73-.921-1.123.19-.215.31-.494.31-.802 0-.212-.061-.41-.159-.586 1.058-1.008 2.112-1.67 2.863-2.034zm-3.925 1.982a.624.624 0 0 1 .346.114.624.624 0 0 1 .292.524.624.624 0 0 1-.292.524.626.626 0 0 1-.346.113.634.634 0 0 1-.638-.637c0-.355.283-.638.638-.638zm-.441 1.771a1.205 1.205 0 0 0 .675.062c.036.05.075.097.112.148a11.438 11.438 0 0 0 .921 1.119 12.103 12.103 0 0 0 1.446 1.277c-.032.11-.054.224-.054.342a1.236 1.236 0 0 0 .066.38 9.91 9.91 0 0 1-2.118 1.042c-.087.029-.173.052-.261.078a7.735 7.735 0 0 1-1.87.332 1.15 1.15 0 0 0-.66-.773c.004-.024.005-.049.01-.073.219-1.333.873-2.73 1.733-3.934zm7.272.19a6.668 6.75 0 0 1 .245 1.786 6.668 6.75 0 0 1-.259 1.856 9.993 9.993 0 0 1-1.666-.63 1.243 1.243 0 0 0-.065-.713 9.434 9.434 0 0 0 1.745-2.3zm-2.913 2.101c.367 0 .657.291.657.658s-.291.657-.657.657c-.367 0-.658-.29-.658-.657s.29-.658.658-.658zm.837 1.59a10.79 10.79 0 0 0 1.802.688 6.668 6.75 0 0 1-6.149 4.157 6.668 6.75 0 0 1-.062-.004 6.668 6.75 0 0 1-.042 0c-.087-.042-.168-.08-.266-.129-.312-.154-.667-.352-.846-.5a3.796 3.796 0 0 1-1.294-2.03c.21-.111.38-.284.487-.495a8.428 8.428 0 0 0 1.96-.306 9.11 9.11 0 0 0 .513-.154 11.083 11.083 0 0 0 2.341-1.13c.205.143.452.23.719.23a1.248 1.248 0 0 0 .837-.328zm-10.707.116a5.761 5.761 0 0 0 2.212 1.298 1.146 1.146 0 0 0 .857.87 4.602 4.602 0 0 0 1.24 2.222 6.668 6.75 0 0 1-4.31-4.39zm3.327.464c.331 0 .595.263.595.596s-.264.595-.595.595a.59.59 0 0 1-.596-.595.591.591 0 0 1 .596-.596z"/></svg></a><!--]--></div><div class="VPFlyout VPNavBarExtra extra" data-v-80352bc2 data-v-ab52090d data-v-8abf0d2b><button type="button" class="button" aria-haspopup="true" aria-expanded="false" aria-label="extra navigation" data-v-8abf0d2b><span class="vpi-more-horizontal icon" data-v-8abf0d2b></span></button><div class="menu" data-v-8abf0d2b><div class="VPMenu" data-v-8abf0d2b data-v-d5080b2f><!----><!--[--><!--[--><!----><div class="group" data-v-ab52090d><div class="item appearance" data-v-ab52090d><p class="label" data-v-ab52090d>Appearance</p><div class="appearance-action" data-v-ab52090d><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title aria-checked="false" data-v-ab52090d data-v-5381293b data-v-36ca7a61><span class="check" data-v-36ca7a61><span class="icon" data-v-36ca7a61><!--[--><span class="vpi-sun sun" data-v-5381293b></span><span class="vpi-moon moon" data-v-5381293b></span><!--]--></span></span></button></div></div></div><div class="group" data-v-ab52090d><div class="item social-links" data-v-ab52090d><div class="VPSocialLinks social-links-list" data-v-ab52090d data-v-185fb790><!--[--><a class="VPSocialLink no-icon" href="https://axios-cache-interceptor.js.org/discord" aria-label="discord" target="_blank" rel="noopener" data-v-185fb790 data-v-a9d38563><span class="vpi-social-discord"></span></a><a class="VPSocialLink no-icon" href="https://github.com/arthurfiorette/axios-cache-interceptor" aria-label="github" target="_blank" rel="noopener" data-v-185fb790 data-v-a9d38563><span class="vpi-social-github"></span></a><a class="VPSocialLink no-icon" href="https://npmjs.com/package/axios-cache-interceptor" aria-label target="_blank" rel="noopener" data-v-185fb790 data-v-a9d38563><svg xmlns="http://www.w3.org/2000/svg" role="img" viewBox="0 0 24 24"><title>npm</title><path d="M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z"/></svg></a><a class="VPSocialLink no-icon" href="https://www.jsdelivr.com/package/npm/axios-cache-interceptor" aria-label target="_blank" rel="noopener" data-v-185fb790 data-v-a9d38563><svg xmlns="http://www.w3.org/2000/svg" role="img" viewBox="0 0 24 24"><title>jsDelivr</title><path d="M11.851 0L.811 4.02l1.56 14.7L11.85 24l9.6-5.28 1.74-14.76zm.062 4.622a6.668 6.75 0 0 1 2.666.572 12.507 12.507 0 0 0-2.59 1.95c-.045-.02-.092-.031-.138-.045a1.181 1.181 0 0 0-.346-.056c-.071 0-.141.01-.21.021a8.91 8.91 0 0 1-.615-2.318 6.668 6.75 0 0 1 1.171-.122 6.668 6.75 0 0 1 .062-.002zm-1.99.312a9.763 9.763 0 0 0 .69 2.504 1.213 1.213 0 0 0-.328.825 1.202 1.202 0 0 0 .18.63c-.937 1.294-1.656 2.803-1.905 4.31-.01.056-.013.11-.02.166-.282.09-.515.284-.656.54-.987-.333-1.885-.968-2.615-2.022a6.668 6.75 0 0 1-.026-.515 6.668 6.75 0 0 1 4.68-6.438zm5.507.709a6.668 6.75 0 0 1 2.53 2.9c-.377.953-1.049 1.892-1.893 2.727a1.242 1.242 0 0 0-.644-.184 1.243 1.243 0 0 0-.768.27c-.462-.354-.91-.737-1.318-1.168-.333-.35-.637-.73-.921-1.123.19-.215.31-.494.31-.802 0-.212-.061-.41-.159-.586 1.058-1.008 2.112-1.67 2.863-2.034zm-3.925 1.982a.624.624 0 0 1 .346.114.624.624 0 0 1 .292.524.624.624 0 0 1-.292.524.626.626 0 0 1-.346.113.634.634 0 0 1-.638-.637c0-.355.283-.638.638-.638zm-.441 1.771a1.205 1.205 0 0 0 .675.062c.036.05.075.097.112.148a11.438 11.438 0 0 0 .921 1.119 12.103 12.103 0 0 0 1.446 1.277c-.032.11-.054.224-.054.342a1.236 1.236 0 0 0 .066.38 9.91 9.91 0 0 1-2.118 1.042c-.087.029-.173.052-.261.078a7.735 7.735 0 0 1-1.87.332 1.15 1.15 0 0 0-.66-.773c.004-.024.005-.049.01-.073.219-1.333.873-2.73 1.733-3.934zm7.272.19a6.668 6.75 0 0 1 .245 1.786 6.668 6.75 0 0 1-.259 1.856 9.993 9.993 0 0 1-1.666-.63 1.243 1.243 0 0 0-.065-.713 9.434 9.434 0 0 0 1.745-2.3zm-2.913 2.101c.367 0 .657.291.657.658s-.291.657-.657.657c-.367 0-.658-.29-.658-.657s.29-.658.658-.658zm.837 1.59a10.79 10.79 0 0 0 1.802.688 6.668 6.75 0 0 1-6.149 4.157 6.668 6.75 0 0 1-.062-.004 6.668 6.75 0 0 1-.042 0c-.087-.042-.168-.08-.266-.129-.312-.154-.667-.352-.846-.5a3.796 3.796 0 0 1-1.294-2.03c.21-.111.38-.284.487-.495a8.428 8.428 0 0 0 1.96-.306 9.11 9.11 0 0 0 .513-.154 11.083 11.083 0 0 0 2.341-1.13c.205.143.452.23.719.23a1.248 1.248 0 0 0 .837-.328zm-10.707.116a5.761 5.761 0 0 0 2.212 1.298 1.146 1.146 0 0 0 .857.87 4.602 4.602 0 0 0 1.24 2.222 6.668 6.75 0 0 1-4.31-4.39zm3.327.464c.331 0 .595.263.595.596s-.264.595-.595.595a.59.59 0 0 1-.596-.595.591.591 0 0 1 .596-.596z"/></svg></a><!--]--></div></div></div><!--]--><!--]--></div></div></div><!--[--><!--]--><button type="button" class="VPNavBarHamburger hamburger" aria-label="mobile navigation" aria-expanded="false" aria-controls="VPNavScreen" data-v-80352bc2 data-v-6a58d81f><span class="container" data-v-6a58d81f><span class="top" data-v-6a58d81f></span><span class="middle" data-v-6a58d81f></span><span class="bottom" data-v-6a58d81f></span></span></button></div></div></div></div><div class="divider" data-v-80352bc2><div class="divider-line" data-v-80352bc2></div></div></div><!----></header><div class="VPLocalNav has-sidebar empty" data-v-2f1abc55 data-v-d3ba68e0><div class="container" data-v-d3ba68e0><button class="menu" aria-expanded="false" aria-controls="VPSidebarNav" data-v-d3ba68e0><span class="vpi-align-left menu-icon" data-v-d3ba68e0></span><span class="menu-text" data-v-d3ba68e0>Menu</span></button><div class="VPLocalNavOutlineDropdown" style="--vp-vh:0px;" data-v-d3ba68e0 data-v-25abdcf2><button data-v-25abdcf2>Return to top</button><!----></div></div></div><aside class="VPSidebar" data-v-2f1abc55 data-v-44c1d731><div class="curtain" data-v-44c1d731></div><nav class="nav" id="VPSidebarNav" aria-labelledby="sidebar-aria-label" tabindex="-1" data-v-44c1d731><span class="visually-hidden" id="sidebar-aria-label" data-v-44c1d731> Sidebar Navigation </span><!--[--><!--]--><!--[--><div class="no-transition group" data-v-2e1acb91><section class="VPSidebarItem level-0" data-v-2e1acb91 data-v-f5014e8b><!----><div class="items" data-v-f5014e8b><!--[--><div class="VPSidebarItem level-1 is-link" data-v-f5014e8b data-v-f5014e8b><div class="item" data-v-f5014e8b><div class="indicator" data-v-f5014e8b></div><a class="VPLink link vp-external-link-icon link" href="https://chatgpt.com/?model=gpt-4&amp;hints=search&amp;prompt=You+are+a+JavaScript+expert+assistant.+Read+the+entire+content+from+the+following+URL%3A%0A%0Ahttps%3A%2F%2Faxios-cache-interceptor.js.org%2Fllms-full.txt%0AYou+are+free+to+follow+any+links+in+the+document+to+gather+more+information%2C+if+necessary.%0A%0AThe+document+is+a+comprehensive+guide+to+the+%60axios-cache-interceptor%60+library%2C+which+is+used+for+caching+HTTP+requests+in+Axios.%0A%0A**Your+task+is+to%3A**%0A%0A1.+Understand+the+purpose+and+functionality+of+the+library.%0A2.+Learn+the+key+concepts%2C+configuration+options%2C+and+API+methods+described.%0A3.+Retain+information+about+advanced+features%2C+usage+examples%2C+and+edge+cases.%0A4.+Be+ready+to+answer+technical+questions+or+explain+how+to+use+the+library%2C+troubleshoot+common+issues%2C+and+compare+it+with+other+caching+approaches+in+Axios.%0A%0ADo+not+summarize+yet.+Just+read+and+prepare+to+answer+detailed+questions." target="_blank" rel="noreferrer" data-v-f5014e8b><!--[--><p class="text" data-v-f5014e8b>Ask ChatGPT</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><div class="no-transition group" data-v-2e1acb91><section class="VPSidebarItem level-0 has-active" data-v-2e1acb91 data-v-f5014e8b><div class="item" role="button" tabindex="0" data-v-f5014e8b><div class="indicator" data-v-f5014e8b></div><h2 class="text" data-v-f5014e8b>Guide</h2><!----></div><div class="items" data-v-f5014e8b><!--[--><div class="VPSidebarItem level-1 is-link" data-v-f5014e8b data-v-f5014e8b><div class="item" data-v-f5014e8b><div class="indicator" data-v-f5014e8b></div><a class="VPLink link link" href="/guide" data-v-f5014e8b><!--[--><p class="text" data-v-f5014e8b>Introduction</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-f5014e8b data-v-f5014e8b><div class="item" data-v-f5014e8b><div class="indicator" data-v-f5014e8b></div><a class="VPLink link link" href="/guide/getting-started" data-v-f5014e8b><!--[--><p class="text" data-v-f5014e8b>Getting Started</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-f5014e8b data-v-f5014e8b><div class="item" data-v-f5014e8b><div class="indicator" data-v-f5014e8b></div><a class="VPLink link link" href="/guide/debugging" data-v-f5014e8b><!--[--><p class="text" data-v-f5014e8b>Debugging</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-f5014e8b data-v-f5014e8b><div class="item" data-v-f5014e8b><div class="indicator" data-v-f5014e8b></div><a class="VPLink link link" href="/guide/storages" data-v-f5014e8b><!--[--><p class="text" data-v-f5014e8b>Storages</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-f5014e8b data-v-f5014e8b><div class="item" data-v-f5014e8b><div class="indicator" data-v-f5014e8b></div><a class="VPLink link link" href="/guide/request-id" data-v-f5014e8b><!--[--><p class="text" data-v-f5014e8b>Request Id</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-f5014e8b data-v-f5014e8b><div class="item" data-v-f5014e8b><div class="indicator" data-v-f5014e8b></div><a class="VPLink link link" href="/guide/invalidating-cache" data-v-f5014e8b><!--[--><p class="text" data-v-f5014e8b>Invalidating Cache</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-f5014e8b data-v-f5014e8b><div class="item" data-v-f5014e8b><div class="indicator" data-v-f5014e8b></div><a class="VPLink link link" href="/guide/comparison" data-v-f5014e8b><!--[--><p class="text" data-v-f5014e8b>Comparison</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-f5014e8b data-v-f5014e8b><div class="item" data-v-f5014e8b><div class="indicator" data-v-f5014e8b></div><a class="VPLink link link" href="/guide/interceptors" data-v-f5014e8b><!--[--><p class="text" data-v-f5014e8b>Other Interceptors</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><div class="no-transition group" data-v-2e1acb91><section class="VPSidebarItem level-0" data-v-2e1acb91 data-v-f5014e8b><div class="item" role="button" tabindex="0" data-v-f5014e8b><div class="indicator" data-v-f5014e8b></div><h2 class="text" data-v-f5014e8b>Config</h2><!----></div><div class="items" data-v-f5014e8b><!--[--><div class="VPSidebarItem level-1 is-link" data-v-f5014e8b data-v-f5014e8b><div class="item" data-v-f5014e8b><div class="indicator" data-v-f5014e8b></div><a class="VPLink link link" href="/config" data-v-f5014e8b><!--[--><p class="text" data-v-f5014e8b>Global Configuration</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-f5014e8b data-v-f5014e8b><div class="item" data-v-f5014e8b><div class="indicator" data-v-f5014e8b></div><a class="VPLink link link" href="/config/request-specifics" data-v-f5014e8b><!--[--><p class="text" data-v-f5014e8b>Request Specifics</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-f5014e8b data-v-f5014e8b><div class="item" data-v-f5014e8b><div class="indicator" data-v-f5014e8b></div><a class="VPLink link link" href="/config/response-object" data-v-f5014e8b><!--[--><p class="text" data-v-f5014e8b>Response Object</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><div class="no-transition group" data-v-2e1acb91><section class="VPSidebarItem level-0" data-v-2e1acb91 data-v-f5014e8b><!----><div class="items" data-v-f5014e8b><!--[--><div class="VPSidebarItem level-1 is-link" data-v-f5014e8b data-v-f5014e8b><div class="item" data-v-f5014e8b><div class="indicator" data-v-f5014e8b></div><a class="VPLink link link" href="/others/license" data-v-f5014e8b><!--[--><p class="text" data-v-f5014e8b>MIT License</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-f5014e8b data-v-f5014e8b><div class="item" data-v-f5014e8b><div class="indicator" data-v-f5014e8b></div><a class="VPLink link link" href="/others/changelog" data-v-f5014e8b><!--[--><p class="text" data-v-f5014e8b>Changelog</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-f5014e8b data-v-f5014e8b><div class="item" data-v-f5014e8b><div class="indicator" data-v-f5014e8b></div><a class="VPLink link link" href="/llms.txt" data-v-f5014e8b><!--[--><p class="text" data-v-f5014e8b>llms.txt</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-f5014e8b data-v-f5014e8b><div class="item" data-v-f5014e8b><div class="indicator" data-v-f5014e8b></div><a class="VPLink link link" href="/llms-full.txt" data-v-f5014e8b><!--[--><p class="text" data-v-f5014e8b>llms-full.txt</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><!--]--><!--[--><!--]--></nav></aside><div class="VPContent has-sidebar" id="VPContent" data-v-2f1abc55 data-v-ec3f2ed4><div class="VPDoc has-sidebar has-aside" data-v-ec3f2ed4 data-v-2e2cfe8f><!--[--><!--]--><div class="container" data-v-2e2cfe8f><div class="aside" data-v-2e2cfe8f><div class="aside-curtain" data-v-2e2cfe8f></div><div class="aside-container" data-v-2e2cfe8f><div class="aside-content" data-v-2e2cfe8f><div class="VPDocAside" data-v-2e2cfe8f data-v-5b981d9e><!--[--><!--]--><!--[--><!--]--><nav aria-labelledby="doc-outline-aria-label" class="VPDocAsideOutline" data-v-5b981d9e data-v-0ee1b918><div class="content" data-v-0ee1b918><div class="outline-marker" data-v-0ee1b918></div><div aria-level="2" class="outline-title" id="doc-outline-aria-label" role="heading" data-v-0ee1b918>On this page</div><ul class="VPDocOutlineItem root" data-v-0ee1b918 data-v-12aee4e1><!--[--><!--]--></ul></div></nav><!--[--><!--]--><div class="spacer" data-v-5b981d9e></div><!--[--><!--]--><div class="VPDocAsideCarbonAds" data-v-5b981d9e><div class="VPCarbonAds" data-v-a26b8d95></div></div><!--[--><!--]--><!--[--><!--]--></div></div></div></div><div class="content" data-v-2e2cfe8f><div class="content-container" data-v-2e2cfe8f><!--[--><!--]--><main class="main" data-v-2e2cfe8f><div style="position:relative;" class="vp-doc _guide_debugging" data-v-2e2cfe8f><div><h1 id="debugging" tabindex="-1">Debugging <a class="header-anchor" href="#debugging" aria-label="Permalink to &quot;Debugging&quot;"></a></h1><p>Im certainly sure that along the way you will find some cache behavior that is not the expected to the current situation. To help with that, the library has a separate robust build with support to debug logs enabled.</p><p>You can use it by changing the <code>setupCache</code> import:</p><div class="vp-code-group vp-adaptive-theme"><div class="tabs"><input type="radio" name="group-OPhgF" id="tab-TfdZMqR" checked><label data-title="EcmaScript" for="tab-TfdZMqR">EcmaScript</label><input type="radio" name="group-OPhgF" id="tab-dQPNbNW"><label data-title="Common JS" for="tab-dQPNbNW">Common JS</label><input type="radio" name="group-OPhgF" id="tab-3EBP819"><label data-title="Browser" for="tab-3EBP819">Browser</label><input type="radio" name="group-OPhgF" id="tab-Jmie6dZ"><label data-title="Skypack" for="tab-Jmie6dZ">Skypack</label></div><div class="blocks"><div class="language-ts vp-adaptive-theme active"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes kanagawa-wave kanagawa-lotus has-diff vp-code" tabindex="0"><code><span class="line"><span style="--shiki-dark:#FFA066;--shiki-light:#CC6D00;">import </span><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;">Axios</span><span style="--shiki-dark:#957FB8;--shiki-light:#624C83;"> from</span><span style="--shiki-dark:#98BB6C;--shiki-light:#6F894E;"> &#39;axios&#39;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">;</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-dark:#727169;--shiki-light:#716E61;">// Only import from `/dev` where you import `setupCache`.</span></span>
<span class="line diff remove"><span style="--shiki-dark:#FFA066;--shiki-light:#CC6D00;">import </span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">{</span><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;"> setupCache</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> }</span><span style="--shiki-dark:#957FB8;--shiki-light:#624C83;"> from</span><span style="--shiki-dark:#98BB6C;--shiki-light:#6F894E;"> &#39;axios-cache-interceptor&#39;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">;</span></span>
<span class="line diff add"><span style="--shiki-dark:#FFA066;--shiki-light:#CC6D00;">import </span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">{</span><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;"> setupCache</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> }</span><span style="--shiki-dark:#957FB8;--shiki-light:#624C83;"> from</span><span style="--shiki-dark:#98BB6C;--shiki-light:#6F894E;"> &#39;axios-cache-interceptor/dev&#39;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">;</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-dark:#727169;--shiki-light:#716E61;">// same object, but with updated typings.</span></span>
<span class="line"><span style="--shiki-dark:#957FB8;--shiki-light:#624C83;">const</span><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;"> axios </span><span style="--shiki-dark:#E6C384;--shiki-light:#77713F;">=</span><span style="--shiki-dark:#7E9CD8;--shiki-light:#4D699B;"> setupCache</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">(</span><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;">Axios</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">,</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> {</span></span>
<span class="line diff add"><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;"> debug</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;"> console</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">.</span><span style="--shiki-dark:#E6C384;--shiki-light:#77713F;">log</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">});</span></span></code></pre></div><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes kanagawa-wave kanagawa-lotus has-diff vp-code" tabindex="0"><code><span class="line"><span style="--shiki-dark:#957FB8;--shiki-light:#624C83;">const</span><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;"> Axios </span><span style="--shiki-dark:#E6C384;--shiki-light:#77713F;">=</span><span style="--shiki-dark:#7E9CD8;--shiki-light:#4D699B;"> require</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">(</span><span style="--shiki-dark:#98BB6C;--shiki-light:#6F894E;">&#39;axios&#39;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">);</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-dark:#727169;--shiki-light:#716E61;">// Only import from `/dev` where you import `setupCache`.</span></span>
<span class="line diff remove"><span style="--shiki-dark:#957FB8;--shiki-light:#624C83;">const</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> {</span><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;"> setupCache </span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">}</span><span style="--shiki-dark:#E6C384;--shiki-light:#77713F;"> =</span><span style="--shiki-dark:#7E9CD8;--shiki-light:#4D699B;"> require</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">(</span><span style="--shiki-dark:#98BB6C;--shiki-light:#6F894E;">&#39;axios-cache-interceptor&#39;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">);</span></span>
<span class="line diff add"><span style="--shiki-dark:#957FB8;--shiki-light:#624C83;">const</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> {</span><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;"> setupCache </span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">}</span><span style="--shiki-dark:#E6C384;--shiki-light:#77713F;"> =</span><span style="--shiki-dark:#7E9CD8;--shiki-light:#4D699B;"> require</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">(</span><span style="--shiki-dark:#98BB6C;--shiki-light:#6F894E;">&#39;axios-cache-interceptor/dev&#39;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">);</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-dark:#727169;--shiki-light:#716E61;">// same object, but with updated typings.</span></span>
<span class="line"><span style="--shiki-dark:#957FB8;--shiki-light:#624C83;">const</span><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;"> axios </span><span style="--shiki-dark:#E6C384;--shiki-light:#77713F;">=</span><span style="--shiki-dark:#7E9CD8;--shiki-light:#4D699B;"> setupCache</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">(</span><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;">Axios</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">,</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> {</span></span>
<span class="line diff add"><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;"> debug</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;"> console</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">.</span><span style="--shiki-dark:#E6C384;--shiki-light:#77713F;">log</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">});</span></span></code></pre></div><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes kanagawa-wave kanagawa-lotus has-diff vp-code" tabindex="0"><code><span class="line"><span style="--shiki-dark:#957FB8;--shiki-light:#624C83;">const</span><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;"> Axios </span><span style="--shiki-dark:#E6C384;--shiki-light:#77713F;">=</span><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;"> window</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">.</span><span style="--shiki-dark:#E6C384;--shiki-light:#77713F;">axios</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">;</span></span>
<span class="line"></span>
<span class="line highlighted diff add"><span style="--shiki-dark:#727169;--shiki-light:#716E61;">// Choose development bundle.</span></span>
<span class="line highlighted"><span style="--shiki-dark:#957FB8;--shiki-light:#624C83;">const</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> {</span><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;"> setupCache </span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">}</span><span style="--shiki-dark:#E6C384;--shiki-light:#77713F;"> =</span><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;"> window</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">.</span><span style="--shiki-dark:#E6C384;--shiki-light:#77713F;">AxiosCacheInterceptor</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">;</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-dark:#727169;--shiki-light:#716E61;">// same object, but with updated typings.</span></span>
<span class="line"><span style="--shiki-dark:#957FB8;--shiki-light:#624C83;">const</span><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;"> axios </span><span style="--shiki-dark:#E6C384;--shiki-light:#77713F;">=</span><span style="--shiki-dark:#7E9CD8;--shiki-light:#4D699B;"> setupCache</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">(</span><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;">Axios</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">,</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> {</span></span>
<span class="line diff add"><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;"> debug</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;"> console</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">.</span><span style="--shiki-dark:#E6C384;--shiki-light:#77713F;">log</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">});</span></span></code></pre></div><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes kanagawa-wave kanagawa-lotus has-diff vp-code" tabindex="0"><code><span class="line"><span style="--shiki-dark:#FFA066;--shiki-light:#CC6D00;">import </span><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;">Axios</span><span style="--shiki-dark:#957FB8;--shiki-light:#624C83;"> from</span><span style="--shiki-dark:#98BB6C;--shiki-light:#6F894E;"> &#39;https://cdn.skypack.dev/axios&#39;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">;</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-dark:#727169;--shiki-light:#716E61;">// Only import from `/dev` where you import `setupCache`.</span></span>
<span class="line diff remove"><span style="--shiki-dark:#FFA066;--shiki-light:#CC6D00;">import </span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">{</span><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;"> setupCache</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> }</span><span style="--shiki-dark:#957FB8;--shiki-light:#624C83;"> from</span><span style="--shiki-dark:#98BB6C;--shiki-light:#6F894E;"> &#39;https://cdn.skypack.dev/axios-cache-interceptor&#39;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">;</span></span>
<span class="line highlighted diff add"><span style="--shiki-dark:#FFA066;--shiki-light:#CC6D00;">import </span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">{</span><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;"> setupCache</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> }</span><span style="--shiki-dark:#957FB8;--shiki-light:#624C83;"> from</span><span style="--shiki-dark:#98BB6C;--shiki-light:#6F894E;"> &#39;https://cdn.skypack.dev/axios-cache-interceptor/dev&#39;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">;</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-dark:#727169;--shiki-light:#716E61;">// same object, but with updated typings.</span></span>
<span class="line"><span style="--shiki-dark:#957FB8;--shiki-light:#624C83;">const</span><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;"> axios </span><span style="--shiki-dark:#E6C384;--shiki-light:#77713F;">=</span><span style="--shiki-dark:#7E9CD8;--shiki-light:#4D699B;"> setupCache</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">(</span><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;">Axios</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">,</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> {</span></span>
<span class="line diff add"><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;"> debug</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#DCD7BA;--shiki-light:#545464;"> console</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">.</span><span style="--shiki-dark:#E6C384;--shiki-light:#77713F;">log</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">});</span></span></code></pre></div></div></div><p>And much more, depending on your context, situation and configuration. <strong>Any misbehavior that you find will have a log to explain it.</strong></p><details class="details custom-block"><summary>Sample of logs sent to console.</summary><div class="language-json vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">json</span><pre class="shiki shiki-themes kanagawa-wave kanagawa-lotus vp-code" tabindex="0"><code><span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">[</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> {</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#D27E99;--shiki-light:#B35B79;">id</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#98BB6C;--shiki-light:#6F894E;"> &quot;-644704205&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">,</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#D27E99;--shiki-light:#B35B79;">msg</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#98BB6C;--shiki-light:#6F894E;"> &quot;Sending request, waiting …&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">,</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#D27E99;--shiki-light:#B35B79;">data</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> {</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#E6C384;--shiki-light:#77713F;">overrideCache</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#FFA066;--shiki-light:#CC6D00;"> false</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">,</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#E6C384;--shiki-light:#77713F;">state</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#98BB6C;--shiki-light:#6F894E;"> &quot;empty&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> }</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> },</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> {</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#D27E99;--shiki-light:#B35B79;">id</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#98BB6C;--shiki-light:#6F894E;"> &quot;-644704205&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">,</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#D27E99;--shiki-light:#B35B79;">msg</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#98BB6C;--shiki-light:#6F894E;"> &quot;Waiting list had an deferred for this key, waiting for it to finish&quot;</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> },</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> {</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#D27E99;--shiki-light:#B35B79;">id</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#98BB6C;--shiki-light:#6F894E;"> &quot;-644704205&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">,</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#D27E99;--shiki-light:#B35B79;">msg</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#98BB6C;--shiki-light:#6F894E;"> &quot;Detected concurrent request, waiting for it to finish&quot;</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> },</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> {</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#D27E99;--shiki-light:#B35B79;">id</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#98BB6C;--shiki-light:#6F894E;"> &quot;-644704205&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">,</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#D27E99;--shiki-light:#B35B79;">msg</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#98BB6C;--shiki-light:#6F894E;"> &quot;Useful response configuration found&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">,</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#D27E99;--shiki-light:#B35B79;">data</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> {</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#E6C384;--shiki-light:#77713F;">cacheConfig</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> {</span></span>
<span class="line"><span style="--shiki-dark:#727169;--shiki-light:#716E61;"> /*...*/</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> },</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#E6C384;--shiki-light:#77713F;">cacheResponse</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> {</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#FFA066;--shiki-light:#CC6D00;">data</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> {</span></span>
<span class="line"><span style="--shiki-dark:#727169;--shiki-light:#716E61;"> /*...*/</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> },</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#FFA066;--shiki-light:#CC6D00;">status</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#D27E99;--shiki-light:#B35B79;"> 200</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">,</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#FFA066;--shiki-light:#CC6D00;">statusText</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#98BB6C;--shiki-light:#6F894E;"> &quot;OK&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">,</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#FFA066;--shiki-light:#CC6D00;">headers</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> {</span></span>
<span class="line"><span style="--shiki-dark:#727169;--shiki-light:#716E61;"> /*...*/</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> }</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> }</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> }</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> },</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> {</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#D27E99;--shiki-light:#B35B79;">id</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#98BB6C;--shiki-light:#6F894E;"> &quot;-644704205&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">,</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#D27E99;--shiki-light:#B35B79;">msg</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#98BB6C;--shiki-light:#6F894E;"> &quot;Found waiting deferred(s) and resolved them&quot;</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> },</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> {</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#D27E99;--shiki-light:#B35B79;">id</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#98BB6C;--shiki-light:#6F894E;"> &quot;-644704205&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">,</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#D27E99;--shiki-light:#B35B79;">msg</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#98BB6C;--shiki-light:#6F894E;"> &quot;Returning cached response&quot;</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> },</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-dark:#727169;--shiki-light:#716E61;"> // First request ended, second call below:</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> {</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#D27E99;--shiki-light:#B35B79;">id</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#98BB6C;--shiki-light:#6F894E;"> &quot;-644704205&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">,</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#D27E99;--shiki-light:#B35B79;">msg</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#98BB6C;--shiki-light:#6F894E;"> &quot;Response cached&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">,</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#D27E99;--shiki-light:#B35B79;">data</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> {</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#E6C384;--shiki-light:#77713F;">cache</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> {</span></span>
<span class="line"><span style="--shiki-dark:#727169;--shiki-light:#716E61;"> /*...*/</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> },</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#E6C384;--shiki-light:#77713F;">response</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> {</span></span>
<span class="line"><span style="--shiki-dark:#727169;--shiki-light:#716E61;"> /*...*/</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> }</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> }</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> },</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> {</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#D27E99;--shiki-light:#B35B79;">id</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#98BB6C;--shiki-light:#6F894E;"> &quot;-644704205&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">,</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> &quot;</span><span style="--shiki-dark:#D27E99;--shiki-light:#B35B79;">msg</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">&quot;</span><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">:</span><span style="--shiki-dark:#98BB6C;--shiki-light:#6F894E;"> &quot;Returning cached response&quot;</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;"> }</span></span>
<span class="line"><span style="--shiki-dark:#9CABCA;--shiki-light:#4E8CA2;">]</span></span></code></pre></div></details></div></div></main><footer class="VPDocFooter" data-v-2e2cfe8f data-v-e898f73c><!--[--><!--]--><div class="edit-info" data-v-e898f73c><div class="edit-link" data-v-e898f73c><a class="VPLink link vp-external-link-icon no-icon edit-link-button" href="https://github.com/arthurfiorette/axios-cache-interceptor/edit/main/docs/src/guide/debugging.md" target="_blank" rel="noreferrer" data-v-e898f73c><!--[--><span class="vpi-square-pen edit-link-icon" data-v-e898f73c></span> Edit this page<!--]--></a></div><div class="last-updated" data-v-e898f73c><p class="VPLastUpdated" data-v-e898f73c data-v-04a76f8e>Last updated: <time datetime="2025-07-02T01:02:21.000Z" data-v-04a76f8e></time></p></div></div><nav class="prev-next" aria-labelledby="doc-footer-aria-label" data-v-e898f73c><span class="visually-hidden" id="doc-footer-aria-label" data-v-e898f73c>Pager</span><div class="pager" data-v-e898f73c><a class="VPLink link pager-link prev" href="/guide/getting-started" data-v-e898f73c><!--[--><span class="desc" data-v-e898f73c>Previous page</span><span class="title" data-v-e898f73c>Getting Started</span><!--]--></a></div><div class="pager" data-v-e898f73c><a class="VPLink link pager-link next" href="/guide/storages" data-v-e898f73c><!--[--><span class="desc" data-v-e898f73c>Next page</span><span class="title" data-v-e898f73c>Storages</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-2f1abc55 data-v-81902d6b><div class="container" data-v-81902d6b><p class="message" data-v-81902d6b>Made with ❤️</p><p class="copyright" data-v-81902d6b>Copyright (c) 2021-present Arthur Fiorette & Contributors</p></div></footer><!--[--><!--]--></div></div>
<script>window.__VP_HASH_MAP__=JSON.parse("{\"config.md\":\"Di3XfB8m\",\"config_request-specifics.md\":\"CuQ0x7G_\",\"config_response-object.md\":\"DrilDvt3\",\"generated_benchmark.md\":\"k58ZxWmf\",\"guide.md\":\"Usb9Q1j8\",\"guide_comparison.md\":\"tuEqkP2r\",\"guide_debugging.md\":\"UnEQ_jX4\",\"guide_getting-started.md\":\"TjqOi9du\",\"guide_interceptors.md\":\"BCPoLlKz\",\"guide_invalidating-cache.md\":\"sZzgD51v\",\"guide_request-id.md\":\"BwmWUaer\",\"guide_storages.md\":\"DtvWoY2Z\",\"index.md\":\"C6V9zriY\",\"others_changelog.md\":\"D-9m34Zk\",\"others_license.md\":\"qG5002HG\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"Axios Cache Interceptor\",\"description\":\"Small and efficient cache interceptor for axios. Etag, Cache-Control, TTL, HTTP headers and more!\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"/rocket.svg\",\"socialLinks\":[{\"icon\":\"discord\",\"link\":\"https://axios-cache-interceptor.js.org/discord\"},{\"icon\":\"github\",\"link\":\"https://github.com/arthurfiorette/axios-cache-interceptor\"},{\"icon\":{\"svg\":\"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" role=\\\"img\\\" viewBox=\\\"0 0 24 24\\\"><title>npm</title><path d=\\\"M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z\\\"/></svg>\"},\"link\":\"https://npmjs.com/package/axios-cache-interceptor\"},{\"icon\":{\"svg\":\"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" role=\\\"img\\\" viewBox=\\\"0 0 24 24\\\"><title>jsDelivr</title><path d=\\\"M11.851 0L.811 4.02l1.56 14.7L11.85 24l9.6-5.28 1.74-14.76zm.062 4.622a6.668 6.75 0 0 1 2.666.572 12.507 12.507 0 0 0-2.59 1.95c-.045-.02-.092-.031-.138-.045a1.181 1.181 0 0 0-.346-.056c-.071 0-.141.01-.21.021a8.91 8.91 0 0 1-.615-2.318 6.668 6.75 0 0 1 1.171-.122 6.668 6.75 0 0 1 .062-.002zm-1.99.312a9.763 9.763 0 0 0 .69 2.504 1.213 1.213 0 0 0-.328.825 1.202 1.202 0 0 0 .18.63c-.937 1.294-1.656 2.803-1.905 4.31-.01.056-.013.11-.02.166-.282.09-.515.284-.656.54-.987-.333-1.885-.968-2.615-2.022a6.668 6.75 0 0 1-.026-.515 6.668 6.75 0 0 1 4.68-6.438zm5.507.709a6.668 6.75 0 0 1 2.53 2.9c-.377.953-1.049 1.892-1.893 2.727a1.242 1.242 0 0 0-.644-.184 1.243 1.243 0 0 0-.768.27c-.462-.354-.91-.737-1.318-1.168-.333-.35-.637-.73-.921-1.123.19-.215.31-.494.31-.802 0-.212-.061-.41-.159-.586 1.058-1.008 2.112-1.67 2.863-2.034zm-3.925 1.982a.624.624 0 0 1 .346.114.624.624 0 0 1 .292.524.624.624 0 0 1-.292.524.626.626 0 0 1-.346.113.634.634 0 0 1-.638-.637c0-.355.283-.638.638-.638zm-.441 1.771a1.205 1.205 0 0 0 .675.062c.036.05.075.097.112.148a11.438 11.438 0 0 0 .921 1.119 12.103 12.103 0 0 0 1.446 1.277c-.032.11-.054.224-.054.342a1.236 1.236 0 0 0 .066.38 9.91 9.91 0 0 1-2.118 1.042c-.087.029-.173.052-.261.078a7.735 7.735 0 0 1-1.87.332 1.15 1.15 0 0 0-.66-.773c.004-.024.005-.049.01-.073.219-1.333.873-2.73 1.733-3.934zm7.272.19a6.668 6.75 0 0 1 .245 1.786 6.668 6.75 0 0 1-.259 1.856 9.993 9.993 0 0 1-1.666-.63 1.243 1.243 0 0 0-.065-.713 9.434 9.434 0 0 0 1.745-2.3zm-2.913 2.101c.367 0 .657.291.657.658s-.291.657-.657.657c-.367 0-.658-.29-.658-.657s.29-.658.658-.658zm.837 1.59a10.79 10.79 0 0 0 1.802.688 6.668 6.75 0 0 1-6.149 4.157 6.668 6.75 0 0 1-.062-.004 6.668 6.75 0 0 1-.042 0c-.087-.042-.168-.08-.266-.129-.312-.154-.667-.352-.846-.5a3.796 3.796 0 0 1-1.294-2.03c.21-.111.38-.284.487-.495a8.428 8.428 0 0 0 1.96-.306 9.11 9.11 0 0 0 .513-.154 11.083 11.083 0 0 0 2.341-1.13c.205.143.452.23.719.23a1.248 1.248 0 0 0 .837-.328zm-10.707.116a5.761 5.761 0 0 0 2.212 1.298 1.146 1.146 0 0 0 .857.87 4.602 4.602 0 0 0 1.24 2.222 6.668 6.75 0 0 1-4.31-4.39zm3.327.464c.331 0 .595.263.595.596s-.264.595-.595.595a.59.59 0 0 1-.596-.595.591.591 0 0 1 .596-.596z\\\"/></svg>\"},\"link\":\"https://www.jsdelivr.com/package/npm/axios-cache-interceptor\"}],\"nav\":[{\"text\":\"Guide\",\"link\":\"/guide\"},{\"text\":\"Config\",\"link\":\"/config\"},{\"text\":\"Others\",\"link\":\"/others/license\"},{\"text\":\"Latest\",\"items\":[{\"text\":\"v0.x\",\"link\":\"https://axios-cache-interceptor.js.org/v0/\"}]}],\"editLink\":{\"pattern\":\"https://github.com/arthurfiorette/axios-cache-interceptor/edit/main/docs/src/:path\"},\"footer\":{\"message\":\"Made with ❤️\",\"copyright\":\"Copyright (c) 2021-present Arthur Fiorette & Contributors\"},\"search\":{\"provider\":\"algolia\",\"options\":{\"appId\":\"WPY8IFS0UX\",\"apiKey\":\"8cc9e4ff3f98b5854346224aac791bbf\",\"indexName\":\"axios-cache-interceptor-js\"}},\"carbonAds\":{\"code\":\"CEBDT27Y\",\"placement\":\"vuejsorg\"},\"sidebar\":[{\"text\":\"Ask ChatGPT\",\"link\":\"https://chatgpt.com/?model=gpt-4&hints=search&prompt=You+are+a+JavaScript+expert+assistant.+Read+the+entire+content+from+the+following+URL%3A%0A%0Ahttps%3A%2F%2Faxios-cache-interceptor.js.org%2Fllms-full.txt%0AYou+are+free+to+follow+any+links+in+the+document+to+gather+more+information%2C+if+necessary.%0A%0AThe+document+is+a+comprehensive+guide+to+the+%60axios-cache-interceptor%60+library%2C+which+is+used+for+caching+HTTP+requests+in+Axios.%0A%0A**Your+task+is+to%3A**%0A%0A1.+Understand+the+purpose+and+functionality+of+the+library.%0A2.+Learn+the+key+concepts%2C+configuration+options%2C+and+API+methods+described.%0A3.+Retain+information+about+advanced+features%2C+usage+examples%2C+and+edge+cases.%0A4.+Be+ready+to+answer+technical+questions+or+explain+how+to+use+the+library%2C+troubleshoot+common+issues%2C+and+compare+it+with+other+caching+approaches+in+Axios.%0A%0ADo+not+summarize+yet.+Just+read+and+prepare+to+answer+detailed+questions.\",\"target\":\"_blank\"},{\"text\":\"Guide\",\"items\":[{\"text\":\"Introduction\",\"link\":\"/guide\"},{\"text\":\"Getting Started\",\"link\":\"/guide/getting-started\"},{\"text\":\"Debugging\",\"link\":\"/guide/debugging\"},{\"text\":\"Storages\",\"link\":\"/guide/storages\"},{\"text\":\"Request Id\",\"link\":\"/guide/request-id\"},{\"text\":\"Invalidating Cache\",\"link\":\"/guide/invalidating-cache\"},{\"text\":\"Comparison\",\"link\":\"/guide/comparison\"},{\"text\":\"Other Interceptors\",\"link\":\"/guide/interceptors\"}]},{\"text\":\"Config\",\"items\":[{\"text\":\"Global Configuration\",\"link\":\"/config\"},{\"text\":\"Request Specifics\",\"link\":\"/config/request-specifics\"},{\"text\":\"Response Object\",\"link\":\"/config/response-object\"}]},{\"text\":\"MIT License\",\"link\":\"/others/license\"},{\"text\":\"Changelog\",\"link\":\"/others/changelog\"},{\"text\":\"llms.txt\",\"link\":\"/llms.txt\"},{\"text\":\"llms-full.txt\",\"link\":\"/llms-full.txt\"}]},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":true}");</script>
</body>
</html>