Responses use predictable caching and list metadata headers. There is no API key; CORS allows browser clients from any origin.
List pagination headers
Header
When
X-List-Page
page=<number> on GET /v1/countries or GET /v1/countries/list.
X-List-Pages
Numbered page mode or page=random (total slices).
X-List-Seed
page=random when seed is generated or echoed.
X-List-Index
page=random slice index.
Geo lookup
GET /v1/countries/current sets X-Request-Country to the detected ISO 3166-1 alpha-2 code (uppercase). See GET /v1/countries/current in the API Reference.
Cache-Control
Route
Typical caching
GET /v1/countries/*
Public JSON; short or default CDN caching on the API host.
GET /notice
public, max-age=3600
GET /docs*.txt
public, max-age=3600
GET /changelog.txt
public, max-age=3600
GET /health
no-store
Flag by ISO code
public, max-age=86400
Opaque /flags/.*
Immutable long-lived cache when using ?opaque=true
CORS
Country and flag routes send Access-Control-Allow-Origin suitable for public read-only use. Preflight is supported where needed.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Countries API","description":"Read-only countries JSON API and flag CDN at api.reqi.dev.","colors":{"primary":"#3878FF","light":"#93B4FF","dark":"#2A5FD4"},"logo":{"light":"https://mintcdn.com/countries-api/KgGF1SV_vWRccnsI/logo/light.svg?fit=max\u0026auto=format\u0026n=KgGF1SV_vWRccnsI\u0026q=85\u0026s=1672108adda487944e27fc8db5ac6432","dark":"https://mintcdn.com/countries-api/KgGF1SV_vWRccnsI/logo/dark.svg?fit=max\u0026auto=format\u0026n=KgGF1SV_vWRccnsI\u0026q=85\u0026s=cb5941e32686a9735529867409a51ba2"},"favicon":"https://mintcdn.com/countries-api/jAksoLeNjJtzYcxM/favicon.svg?fit=max\u0026auto=format\u0026n=jAksoLeNjJtzYcxM\u0026q=85\u0026s=43830996e4c944e610fd3cf4e9b617e7","api":{"openapi":["https://api.reqi.dev/openapi.json","https://api.reqi.dev/openapi/countries.json","https://api.reqi.dev/openapi/catalog.json","https://api.reqi.dev/openapi/rankings.json","https://api.reqi.dev/openapi/utilities.json","https://api.reqi.dev/openapi/meta.json","https://api.reqi.dev/openapi/flags.json"],"playground":{"display":"interactive"},"url":"full"},"navbar":{"links":[{"href":"https://api.reqi.dev/v1/countries","label":"API"},{"href":"https://reqi.dev","label":"Home"}],"primary":{"type":"button","label":"OpenAPI","href":"https://api.reqi.dev/openapi.json"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"countries-api","hasAudioNarration":false,"actualSubdomain":"countries-api","customDomains":["docs.reqi.dev"],"gitSource":{"type":"github","owner":"mintlify-community","repo":"docs-meridian-b49c11fd-8e9a1275","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6acd366c1112e2170f765c61","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"Countries","count":62},{"language":"default","tag":"API Reference","count":53},{"language":"default","tag":"Guides","count":13},{"language":"default","tag":"Catalog","count":12},{"language":"default","tag":"Utilities","count":5},{"language":"default","tag":"Flags","count":3},{"language":"default","tag":"Get started","count":3},{"language":"default","tag":"Meta","count":1},{"language":"default","tag":"Rankings","count":1},{"language":"default","tag":"Data","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"caching-and-headers","slug":"/caching-and-headers","pageMetadata":{"title":"Caching and headers","description":"List headers, flag redirects, health, and CORS.","href":"/caching-and-headers"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"List headers, flag redirects, health, and CORS.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Table}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Responses use predictable caching and list metadata headers. There is no API key; CORS allows browser clients from any origin.`}),`\n`,_jsx(Heading,{level:`2`,id:`list-pagination-headers`,children:`List pagination headers`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Header`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-List-Page`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`page=\u0026lt;number\u0026gt;`}),` on GET /v1/countries or GET /v1/countries/list.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-List-Pages`})}),_jsx(_components.td,{children:`Numbered page mode or page=random (total slices).`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-List-Seed`})}),_jsx(_components.td,{children:`page=random when seed is generated or echoed.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-List-Index`})}),_jsx(_components.td,{children:`page=random slice index.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`geo-lookup`,children:`Geo lookup`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`GET /v1/countries/current`}),` sets `,_jsx(_components.code,{children:`X-Request-Country`}),` to the detected ISO 3166-1 alpha-2 code (uppercase). See `,_jsx(_components.a,{href:`https://docs.reqi.dev/api-reference/countries/get-v1-countries-current`,children:`GET /v1/countries/current`}),` in the API Reference.`]}),`\n`,_jsx(Heading,{level:`2`,id:`cache-control`,children:`Cache-Control`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Route`}),_jsx(_components.th,{children:`Typical caching`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /v1/countries/*`})}),_jsx(_components.td,{children:`Public JSON; short or default CDN caching on the API host.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /notice`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`public, max-age=3600`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /docs*.txt`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`public, max-age=3600`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /changelog.txt`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`public, max-age=3600`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /health`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`no-store`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Flag by ISO code`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`public, max-age=86400`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Opaque /flags/`,`.*`]}),_jsx(_components.td,{children:`Immutable long-lived cache when using ?opaque=true`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`cors`,children:`CORS`}),`\n`,_jsx(_components.p,{children:`Country and flag routes send Access-Control-Allow-Origin suitable for public read-only use. Preflight is supported where needed.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Caching and headers","description":"List headers, flag redirects, health, and CORS.","href":"/caching-and-headers"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"List pagination headers","slug":"list-pagination-headers","depth":2,"children":[]},{"title":"Geo lookup","slug":"geo-lookup","depth":2,"children":[]},{"title":"Cache-Control","slug":"cache-control","depth":2,"children":[]},{"title":"CORS","slug":"cors","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"countries-api","siteName":"Countries API","title":"Caching and headers - Countries API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-12T19:10:07.666Z","originalFileLocation":"caching-and-headers.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"List headers, flag redirects, health, and CORS.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Countries API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/countries-api/SEKjW_GjMwRlsRNz/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/countries-api/SEKjW_GjMwRlsRNz/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/countries-api/SEKjW_GjMwRlsRNz/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/countries-api/SEKjW_GjMwRlsRNz/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/countries-api/SEKjW_GjMwRlsRNz/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/countries-api/SEKjW_GjMwRlsRNz/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/countries-api/SEKjW_GjMwRlsRNz/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/countries-api/SEKjW_GjMwRlsRNz/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/countries-api/SEKjW_GjMwRlsRNz/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Caching and headers - Countries API\">\u003cmeta data-mint-head property=\"og:description\" content=\"List headers, flag redirects, health, and CORS.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Countries API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.reqi.dev/caching-and-headers\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://countries-api.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=Caching+and+headers\u0026amp;description=List+headers%2C+flag+redirects%2C+health%2C+and+CORS.\u0026amp;theme=3b51feb601ff51684baa1ada\u0026amp;signature=51c6e7475295f4483bc371eb9a26b33a438c444a897cdffe60c7a0369408723e\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Caching and headers - Countries API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"List headers, flag redirects, health, and CORS.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://countries-api.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=Caching+and+headers\u0026amp;description=List+headers%2C+flag+redirects%2C+health%2C+and+CORS.\u0026amp;theme=3b51feb601ff51684baa1ada\u0026amp;signature=51c6e7475295f4483bc371eb9a26b33a438c444a897cdffe60c7a0369408723e\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/countries-api/SEKjW_GjMwRlsRNz/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Countries API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3878FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.reqi.dev/caching-and-headers\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/caching-and-headers.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.reqi.dev/#organization\",\"name\":\"Countries API\",\"url\":\"https://docs.reqi.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/countries-api/KgGF1SV_vWRccnsI/logo/light.svg?fit=max\u0026auto=format\u0026n=KgGF1SV_vWRccnsI\u0026q=85\u0026s=1672108adda487944e27fc8db5ac6432\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.reqi.dev#website\",\"name\":\"Countries API\",\"url\":\"https://docs.reqi.dev\",\"publisher\":{\"@id\":\"https://docs.reqi.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.reqi.dev/caching-and-headers#webpage\",\"url\":\"https://docs.reqi.dev/caching-and-headers\",\"name\":\"Caching and headers\",\"description\":\"List headers, flag redirects, health, and CORS.\",\"dateModified\":\"2026-10-12T19:10:07.666Z\",\"isPartOf\":{\"@id\":\"https://docs.reqi.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.reqi.dev/caching-and-headers#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.reqi.dev/caching-and-headers#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Guides\",\"item\":\"https://docs.reqi.dev/pagination\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Caching and headers\",\"item\":\"https://docs.reqi.dev/caching-and-headers\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.reqi.dev/caching-and-headers#article\",\"headline\":\"Caching and headers\",\"name\":\"Caching and headers\",\"description\":\"List headers, flag redirects, health, and CORS.\",\"url\":\"https://docs.reqi.dev/caching-and-headers\",\"mainEntityOfPage\":{\"@id\":\"https://docs.reqi.dev/caching-and-headers#webpage\"},\"dateModified\":\"2026-10-12T19:10:07.666Z\",\"publisher\":{\"@id\":\"https://docs.reqi.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.reqi.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Countries API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Countries API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/caching-and-headers.md","siteName":"Countries API","nav":{"global":null,"tabs":[{"tab":"Guides","icon":"book-open","pages":[{"group":"Get started","pages":[{"title":"Introduction","href":""},{"title":"Quickstart","href":"/quickstart"},{"title":"Base URLs","href":"/base-url"}]},{"group":"Guides","pages":[{"title":"Pagination","href":"/pagination"},{"title":"Field projection","href":"/fields"},{"title":"Errors","description":"JSON error envelope and HTTP status codes.","href":"/errors"},{"title":"Caching and headers","href":"/caching-and-headers"}]},{"group":"Agents","pages":[{"title":"LLMs","description":"How agents should read /llms.txt and OpenAPI.","href":"/llms"}]},{"group":"Data","pages":[{"title":"Sources and licenses","href":"/data"}]},{"group":"Unlisted","hidden":true,"pages":[{"title":"Endpoints overview","href":"/endpoints"},{"title":"Filter routes","href":"/filters"},{"title":"Country object","href":"/schema"},{"title":"Discovery (GET /v1/meta)","sidebarTitle":"meta","href":"/meta"},{"title":"OpenAPI","href":"/api"},{"title":"Flag CDN","href":"/flags"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/countries/list-countries"}]}]},"basePath":"","title":"Caching and headers - Countries API","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":[],"chunks":[]}