CINXE.COM

Intercom

<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8" data-next-head=""/><title data-next-head="">How caching works in GTranslate network? | GTranslate Help Center</title><meta property="og:title" content="How caching works in GTranslate network? | GTranslate Help Center" data-next-head=""/><meta name="twitter:title" content="How caching works in GTranslate network? | GTranslate Help Center" data-next-head=""/><meta property="og:description" content="Technical explanation about how our caching system works." data-next-head=""/><meta name="twitter:description" content="Technical explanation about how our caching system works." data-next-head=""/><meta name="description" content="Technical explanation about how our caching system works." data-next-head=""/><meta property="og:type" content="article" data-next-head=""/><meta name="robots" content="all" data-next-head=""/><meta name="viewport" content="width=device-width, initial-scale=1" data-next-head=""/><link href="https://intercom.help/gtranslate/assets/favicon" rel="icon" data-next-head=""/><link rel="canonical" href="https://docs.gtranslate.io/en/articles/1871130-how-caching-works-in-gtranslate-network" data-next-head=""/><link rel="alternate" href="http://docs.gtranslate.io/en/articles/1871130-how-caching-works-in-gtranslate-network" hrefLang="en" data-next-head=""/><link rel="alternate" href="http://docs.gtranslate.io/en/articles/1871130-how-caching-works-in-gtranslate-network" hrefLang="x-default" data-next-head=""/><link nonce="vueZVOYPpE/V13dEPF2KEJ8Z+QqF4LUyBQ/xdQXzYYs=" rel="preload" href="https://static.intercomassets.com/_next/static/css/02742ed7dc6dee08.css" as="style"/><link nonce="vueZVOYPpE/V13dEPF2KEJ8Z+QqF4LUyBQ/xdQXzYYs=" rel="stylesheet" href="https://static.intercomassets.com/_next/static/css/02742ed7dc6dee08.css" data-n-g=""/><noscript data-n-css="vueZVOYPpE/V13dEPF2KEJ8Z+QqF4LUyBQ/xdQXzYYs="></noscript><script defer="" nonce="vueZVOYPpE/V13dEPF2KEJ8Z+QqF4LUyBQ/xdQXzYYs=" nomodule="" src="https://static.intercomassets.com/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script defer="" src="https://static.intercomassets.com/_next/static/chunks/9807.06bd1120513ccdff.js" nonce="vueZVOYPpE/V13dEPF2KEJ8Z+QqF4LUyBQ/xdQXzYYs="></script><script src="https://static.intercomassets.com/_next/static/chunks/webpack-ef4d8d45b4807dbe.js" nonce="vueZVOYPpE/V13dEPF2KEJ8Z+QqF4LUyBQ/xdQXzYYs=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/framework-c2b23989aabf8846.js" nonce="vueZVOYPpE/V13dEPF2KEJ8Z+QqF4LUyBQ/xdQXzYYs=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/main-955d6c5a10b901c5.js" nonce="vueZVOYPpE/V13dEPF2KEJ8Z+QqF4LUyBQ/xdQXzYYs=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/pages/_app-9e040c71e6d9729d.js" nonce="vueZVOYPpE/V13dEPF2KEJ8Z+QqF4LUyBQ/xdQXzYYs=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/da8cbcf2-515374c1b53e94b9.js" nonce="vueZVOYPpE/V13dEPF2KEJ8Z+QqF4LUyBQ/xdQXzYYs=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/7833-842ba55e661d0800.js" nonce="vueZVOYPpE/V13dEPF2KEJ8Z+QqF4LUyBQ/xdQXzYYs=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/8277-c9f765c885eef948.js" nonce="vueZVOYPpE/V13dEPF2KEJ8Z+QqF4LUyBQ/xdQXzYYs=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/639-4cba3a85bc80cea4.js" nonce="vueZVOYPpE/V13dEPF2KEJ8Z+QqF4LUyBQ/xdQXzYYs=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/2266-6ece4d4ecd5a090f.js" nonce="vueZVOYPpE/V13dEPF2KEJ8Z+QqF4LUyBQ/xdQXzYYs=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/6408-1b0e182947803382.js" nonce="vueZVOYPpE/V13dEPF2KEJ8Z+QqF4LUyBQ/xdQXzYYs=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/pages/%5BhelpCenterIdentifier%5D/%5Blocale%5D/articles/%5BarticleSlug%5D-f23178055b57ca92.js" nonce="vueZVOYPpE/V13dEPF2KEJ8Z+QqF4LUyBQ/xdQXzYYs=" defer=""></script><script src="https://static.intercomassets.com/_next/static/xnr3usaXfmOcVOl7XggGS/_buildManifest.js" nonce="vueZVOYPpE/V13dEPF2KEJ8Z+QqF4LUyBQ/xdQXzYYs=" defer=""></script><script src="https://static.intercomassets.com/_next/static/xnr3usaXfmOcVOl7XggGS/_ssgManifest.js" nonce="vueZVOYPpE/V13dEPF2KEJ8Z+QqF4LUyBQ/xdQXzYYs=" defer=""></script><meta name="sentry-trace" content="913e785565d14b3e7960851b58215089-d03a0fba6b8d9a99-0"/><meta name="baggage" content="sentry-environment=production,sentry-release=xnr3usaXfmOcVOl7XggGS,sentry-public_key=187f842308a64dea9f1f64d4b1b9c298,sentry-trace_id=913e785565d14b3e7960851b58215089,sentry-sampled=false"/><style id="__jsx-3601847482">:root{--body-bg: rgb(255, 255, 255); --body-image: none; --body-bg-rgb: 255, 255, 255; --body-border: rgb(230, 230, 230); --body-primary-color: #1a1a1a; --body-secondary-color: #737373; --body-reaction-bg: rgb(242, 242, 242); --body-reaction-text-color: rgb(64, 64, 64); --body-toc-active-border: #737373; --body-toc-inactive-border: #f2f2f2; --body-toc-inactive-color: #737373; --body-toc-active-font-weight: 400; --body-table-border: rgb(204, 204, 204); --body-color: hsl(0, 0%, 0%); --footer-bg: rgb(255, 255, 255); --footer-image: none; --footer-border: rgb(230, 230, 230); --footer-color: hsl(211, 10%, 61%); --header-bg: rgb(3, 133, 205); --header-image: none; --header-color: hsl(0, 0%, 100%); --collection-card-bg: rgb(255, 255, 255); --collection-card-image: none; --collection-card-color: hsl(201, 97%, 41%); --card-bg: rgb(255, 255, 255); --card-border-color: rgb(230, 230, 230); --card-border-inner-radius: 6px; --card-border-radius: 8px; --card-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); --search-bar-border-radius: 10px; --search-bar-width: 100%; --ticket-blue-bg-color: #dce1f9; --ticket-blue-text-color: #334bfa; --ticket-green-bg-color: #d7efdc; --ticket-green-text-color: #0f7134; --ticket-orange-bg-color: #ffebdb; --ticket-orange-text-color: #b24d00; --header-height: 245px; --header-subheader-background-color: #000000; --header-subheader-font-color: #FFFFFF; --content-block-bg: rgb(255, 255, 255); --content-block-image: none; --content-block-color: hsl(0, 0%, 10%); --content-block-button-bg: rgb(51, 75, 250); --content-block-button-image: none; --content-block-button-color: hsl(0, 0%, 100%); --content-block-button-radius: 6px; --primary-color: hsl(201, 97%, 41%); --primary-color-alpha-10: hsla(201, 97%, 41%, 0.1); --primary-color-alpha-60: hsla(201, 97%, 41%, 0.6); --text-on-primary-color: #1a1a1a}</style><style id="__jsx-2094555375">:root{--font-family-primary: system-ui, "Segoe UI", "Roboto", "Helvetica", "Arial", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}</style><style id="__jsx-2605255833">:root{--font-family-secondary: system-ui, "Segoe UI", "Roboto", "Helvetica", "Arial", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}</style><style id="__jsx-73269029ea53bf4f">.fade-background.jsx-73269029ea53bf4f{background:-webkit-radial-gradient(50%0%,333.38%100%,rgba(var(--body-bg-rgb),0)0%,rgba(var(--body-bg-rgb),.00925356)11.67%,rgba(var(--body-bg-rgb),.0337355)21.17%,rgba(var(--body-bg-rgb),.0718242)28.85%,rgba(var(--body-bg-rgb),.121898)35.03%,rgba(var(--body-bg-rgb),.182336)40.05%,rgba(var(--body-bg-rgb),.251516)44.25%,rgba(var(--body-bg-rgb),.327818)47.96%,rgba(var(--body-bg-rgb),.409618)51.51%,rgba(var(--body-bg-rgb),.495297)55.23%,rgba(var(--body-bg-rgb),.583232)59.47%,rgba(var(--body-bg-rgb),.671801)64.55%,rgba(var(--body-bg-rgb),.759385)70.81%,rgba(var(--body-bg-rgb),.84436)78.58%,rgba(var(--body-bg-rgb),.9551)88.2%,rgba(var(--body-bg-rgb),1)100%),var(--header-image),var(--header-bg);background:-moz-radial-gradient(50%0%,333.38%100%,rgba(var(--body-bg-rgb),0)0%,rgba(var(--body-bg-rgb),.00925356)11.67%,rgba(var(--body-bg-rgb),.0337355)21.17%,rgba(var(--body-bg-rgb),.0718242)28.85%,rgba(var(--body-bg-rgb),.121898)35.03%,rgba(var(--body-bg-rgb),.182336)40.05%,rgba(var(--body-bg-rgb),.251516)44.25%,rgba(var(--body-bg-rgb),.327818)47.96%,rgba(var(--body-bg-rgb),.409618)51.51%,rgba(var(--body-bg-rgb),.495297)55.23%,rgba(var(--body-bg-rgb),.583232)59.47%,rgba(var(--body-bg-rgb),.671801)64.55%,rgba(var(--body-bg-rgb),.759385)70.81%,rgba(var(--body-bg-rgb),.84436)78.58%,rgba(var(--body-bg-rgb),.9551)88.2%,rgba(var(--body-bg-rgb),1)100%),var(--header-image),var(--header-bg);background:-o-radial-gradient(50%0%,333.38%100%,rgba(var(--body-bg-rgb),0)0%,rgba(var(--body-bg-rgb),.00925356)11.67%,rgba(var(--body-bg-rgb),.0337355)21.17%,rgba(var(--body-bg-rgb),.0718242)28.85%,rgba(var(--body-bg-rgb),.121898)35.03%,rgba(var(--body-bg-rgb),.182336)40.05%,rgba(var(--body-bg-rgb),.251516)44.25%,rgba(var(--body-bg-rgb),.327818)47.96%,rgba(var(--body-bg-rgb),.409618)51.51%,rgba(var(--body-bg-rgb),.495297)55.23%,rgba(var(--body-bg-rgb),.583232)59.47%,rgba(var(--body-bg-rgb),.671801)64.55%,rgba(var(--body-bg-rgb),.759385)70.81%,rgba(var(--body-bg-rgb),.84436)78.58%,rgba(var(--body-bg-rgb),.9551)88.2%,rgba(var(--body-bg-rgb),1)100%),var(--header-image),var(--header-bg);background:radial-gradient(333.38%100%at 50%0%,rgba(var(--body-bg-rgb),0)0%,rgba(var(--body-bg-rgb),.00925356)11.67%,rgba(var(--body-bg-rgb),.0337355)21.17%,rgba(var(--body-bg-rgb),.0718242)28.85%,rgba(var(--body-bg-rgb),.121898)35.03%,rgba(var(--body-bg-rgb),.182336)40.05%,rgba(var(--body-bg-rgb),.251516)44.25%,rgba(var(--body-bg-rgb),.327818)47.96%,rgba(var(--body-bg-rgb),.409618)51.51%,rgba(var(--body-bg-rgb),.495297)55.23%,rgba(var(--body-bg-rgb),.583232)59.47%,rgba(var(--body-bg-rgb),.671801)64.55%,rgba(var(--body-bg-rgb),.759385)70.81%,rgba(var(--body-bg-rgb),.84436)78.58%,rgba(var(--body-bg-rgb),.9551)88.2%,rgba(var(--body-bg-rgb),1)100%),var(--header-image),var(--header-bg);-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;background-position-x:center}</style><style id="__jsx-ef86202475c6562f">.article_body a{color:var(--primary-color)}article a.intercom-h2b-button{background-color:var(--primary-color);border:0}.zendesk-article table{overflow-x:scroll!important;display:block!important;height:auto!important}.intercom-interblocks-unordered-nested-list ul,.intercom-interblocks-ordered-nested-list ol{margin-top:16px;margin-bottom:16px}.intercom-interblocks-unordered-nested-list ul .intercom-interblocks-unordered-nested-list ul,.intercom-interblocks-unordered-nested-list ul .intercom-interblocks-ordered-nested-list ol,.intercom-interblocks-ordered-nested-list ol .intercom-interblocks-ordered-nested-list ol,.intercom-interblocks-ordered-nested-list ol .intercom-interblocks-unordered-nested-list ul{margin-top:0;margin-bottom:0}.intercom-interblocks-image a:focus{outline-offset:3px}</style></head><body><div id="__next"><div dir="ltr" class="h-full w-full"><a href="#main-content" class="sr-only">Skip to main content</a><main class="header__lite"><header id="header" data-testid="header" class="jsx-73269029ea53bf4f flex flex-col text-header-color"><div class="jsx-73269029ea53bf4f relative flex grow flex-col mb-9 bg-header-bg bg-header-image bg-cover bg-center pb-9"><div class="jsx-73269029ea53bf4f flex h-full flex-col items-center marker:shrink-0"><section class="relative flex w-full flex-col mb-6 pb-6"><div class="header__meta_wrapper flex justify-center px-5 pt-6 leading-none sm:px-10"><div class="flex items-center w-240" data-testid="subheader-container"><div class="mo__body header__site_name"><div class="header__logo"><a href="/en/"><img src="https://downloads.intercomcdn.com/i/o/123871/cb470d5319bca063e730e844/2bf3e152937cb2650b3b08911c5d62e2.png" height="75" alt="GTranslate Help Center"/></a></div></div><div><div class="flex items-center font-semibold"><div class="flex items-center md:hidden" data-testid="small-screen-children"><button class="flex items-center border-none bg-transparent px-1.5" data-testid="hamburger-menu-button" aria-label="Open menu"><svg width="24" height="24" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="fill-current"><path d="M1.86861 2C1.38889 2 1 2.3806 1 2.85008C1 3.31957 1.38889 3.70017 1.86861 3.70017H14.1314C14.6111 3.70017 15 3.31957 15 2.85008C15 2.3806 14.6111 2 14.1314 2H1.86861Z"></path><path d="M1 8C1 7.53051 1.38889 7.14992 1.86861 7.14992H14.1314C14.6111 7.14992 15 7.53051 15 8C15 8.46949 14.6111 8.85008 14.1314 8.85008H1.86861C1.38889 8.85008 1 8.46949 1 8Z"></path><path d="M1 13.1499C1 12.6804 1.38889 12.2998 1.86861 12.2998H14.1314C14.6111 12.2998 15 12.6804 15 13.1499C15 13.6194 14.6111 14 14.1314 14H1.86861C1.38889 14 1 13.6194 1 13.1499Z"></path></svg></button><div class="fixed right-0 top-0 z-50 h-full w-full hidden" data-testid="hamburger-menu"><div class="flex h-full w-full justify-end bg-black bg-opacity-30"><div class="flex h-fit w-full flex-col bg-white opacity-100 sm:h-full sm:w-1/2"><button class="text-body-font flex items-center self-end border-none bg-transparent pr-6 pt-6" data-testid="hamburger-menu-close-button" aria-label="Close menu"><svg width="24" height="24" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M3.5097 3.5097C3.84165 3.17776 4.37984 3.17776 4.71178 3.5097L7.99983 6.79775L11.2879 3.5097C11.6198 3.17776 12.158 3.17776 12.49 3.5097C12.8219 3.84165 12.8219 4.37984 12.49 4.71178L9.20191 7.99983L12.49 11.2879C12.8219 11.6198 12.8219 12.158 12.49 12.49C12.158 12.8219 11.6198 12.8219 11.2879 12.49L7.99983 9.20191L4.71178 12.49C4.37984 12.8219 3.84165 12.8219 3.5097 12.49C3.17776 12.158 3.17776 11.6198 3.5097 11.2879L6.79775 7.99983L3.5097 4.71178C3.17776 4.37984 3.17776 3.84165 3.5097 3.5097Z"></path></svg></button><nav class="flex flex-col pl-4 text-black"><div class="relative cursor-pointer has-[:focus]:outline"><select class="peer absolute z-10 block h-6 w-full cursor-pointer opacity-0 md:text-base"><option value="/en/articles/1871130-how-caching-works-in-gtranslate-network" class="text-black" selected="">English</option>;</select><div class="mb-10 ml-5 flex items-center gap-1 text-md hover:opacity-80 peer-hover:opacity-80 md:m-0 md:ml-3 md:text-base"><svg id="locale-picker-globe" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" class="shrink-0" aria-hidden="true"><path d="M8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8 15C9.39949 15 10.534 11.866 10.534 8C10.534 4.13401 9.39949 1 8 1C6.60051 1 5.466 4.13401 5.466 8C5.466 11.866 6.60051 15 8 15Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M1.448 5.75989H14.524" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M1.448 10.2402H14.524" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>English<svg id="locale-picker-arrow" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" class="shrink-0" aria-label="Change language" role="button"><path d="M5 6.5L8.00093 9.5L11 6.50187" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"></path></svg></div></div></nav></div></div></div></div><nav class="hidden items-center md:flex" data-testid="large-screen-children"><div class="relative cursor-pointer has-[:focus]:outline"><select class="peer absolute z-10 block h-6 w-full cursor-pointer opacity-0 md:text-base"><option value="/en/articles/1871130-how-caching-works-in-gtranslate-network" class="text-black" selected="">English</option>;</select><div class="mb-10 ml-5 flex items-center gap-1 text-md hover:opacity-80 peer-hover:opacity-80 md:m-0 md:ml-3 md:text-base"><svg id="locale-picker-globe" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" class="shrink-0" aria-hidden="true"><path d="M8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8 15C9.39949 15 10.534 11.866 10.534 8C10.534 4.13401 9.39949 1 8 1C6.60051 1 5.466 4.13401 5.466 8C5.466 11.866 6.60051 15 8 15Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M1.448 5.75989H14.524" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M1.448 10.2402H14.524" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>English<svg id="locale-picker-arrow" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" class="shrink-0" aria-label="Change language" role="button"><path d="M5 6.5L8.00093 9.5L11 6.50187" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"></path></svg></div></div></nav></div></div></div></div></section><section class="relative mx-5 flex h-full w-full flex-col items-center px-5 sm:px-10"><div class="flex h-full max-w-full flex-col w-240 justify-end" data-testid="main-header-container"><div id="search-bar" class="relative w-full"><form action="/en/" autoComplete="off"><div class="flex w-full flex-col items-start"><div class="relative flex w-full sm:w-search-bar"><input type="text" autoComplete="off" class="peer w-full rounded-search-bar border border-black-alpha-8 bg-white-alpha-20 p-4 ps-12 font-secondary text-lg text-header-color shadow-search-bar outline-none transition ease-linear placeholder:text-header-color hover:bg-white-alpha-27 hover:shadow-search-bar-hover focus:border-transparent focus:bg-white focus:text-black-10 focus:shadow-search-bar-focused placeholder:focus:text-black-45" placeholder="Search for articles..." name="q" value=""/><div class="pointer-events-none absolute inset-y-0 start-0 flex items-center fill-header-color ps-5 peer-focus-visible:fill-black-45"><svg width="22" height="21" viewBox="0 0 22 21" xmlns="http://www.w3.org/2000/svg" class="fill-inherit" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M3.27485 8.7001C3.27485 5.42781 5.92757 2.7751 9.19985 2.7751C12.4721 2.7751 15.1249 5.42781 15.1249 8.7001C15.1249 11.9724 12.4721 14.6251 9.19985 14.6251C5.92757 14.6251 3.27485 11.9724 3.27485 8.7001ZM9.19985 0.225098C4.51924 0.225098 0.724854 4.01948 0.724854 8.7001C0.724854 13.3807 4.51924 17.1751 9.19985 17.1751C11.0802 17.1751 12.8176 16.5627 14.2234 15.5265L19.0981 20.4013C19.5961 20.8992 20.4033 20.8992 20.9013 20.4013C21.3992 19.9033 21.3992 19.0961 20.9013 18.5981L16.0264 13.7233C17.0625 12.3176 17.6749 10.5804 17.6749 8.7001C17.6749 4.01948 13.8805 0.225098 9.19985 0.225098Z"></path></svg></div></div></div></form></div></div></section></div></div></header><div class="z-1 flex shrink-0 grow basis-auto justify-center px-5 sm:px-10"><section data-testid="main-content" id="main-content" class="max-w-full w-240"><section data-testid="article-section" class="section section__article"><div class="justify-center flex"><div class="relative z-3 w-full lg:max-w-160 "><div class="flex pb-6 max-md:pb-2 lg:max-w-160"><div class="flex flex-wrap items-baseline pb-4 text-base"><a href="/en/" class="pr-2 text-body-primary-color no-underline hover:text-body-secondary-color">All Collections</a><div class="pr-2" aria-hidden="true"><svg width="6" height="10" viewBox="0 0 6 10" class="block h-2 w-2 fill-body-secondary-color rtl:rotate-180" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.648862 0.898862C0.316916 1.23081 0.316916 1.769 0.648862 2.10094L3.54782 4.9999L0.648862 7.89886C0.316916 8.23081 0.316917 8.769 0.648862 9.10094C0.980808 9.43289 1.519 9.43289 1.85094 9.10094L5.35094 5.60094C5.68289 5.269 5.68289 4.73081 5.35094 4.39886L1.85094 0.898862C1.519 0.566916 0.980807 0.566916 0.648862 0.898862Z"></path></svg></div><a href="http://docs.gtranslate.io/en/collections/551610-how-tos" class="pr-2 text-body-primary-color no-underline hover:text-body-secondary-color" data-testid="breadcrumb-0">How-tos</a><div class="pr-2" aria-hidden="true"><svg width="6" height="10" viewBox="0 0 6 10" class="block h-2 w-2 fill-body-secondary-color rtl:rotate-180" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.648862 0.898862C0.316916 1.23081 0.316916 1.769 0.648862 2.10094L3.54782 4.9999L0.648862 7.89886C0.316916 8.23081 0.316917 8.769 0.648862 9.10094C0.980808 9.43289 1.519 9.43289 1.85094 9.10094L5.35094 5.60094C5.68289 5.269 5.68289 4.73081 5.35094 4.39886L1.85094 0.898862C1.519 0.566916 0.980807 0.566916 0.648862 0.898862Z"></path></svg></div><div class="text-body-secondary-color">How caching works in GTranslate network?</div></div></div><div class=""><div class="article intercom-force-break"><div class="mb-10 max-lg:mb-6"><div class="flex flex-col gap-4"><div class="flex flex-col"><header class="mb-1 font-primary text-2xl font-bold leading-10 text-body-primary-color">How caching works in GTranslate network?</header><div class="text-md font-normal leading-normal text-body-secondary-color"><p>Technical explanation about how our caching system works.</p></div></div><div class="avatar"><div class="avatar__photo"><img width="24" height="24" src="https://static.intercomassets.com/avatars/1200734/square_128/edvard-1494338504.png" alt="Edvard avatar" class="inline-flex items-center justify-center rounded-full bg-primary text-lg font-bold leading-6 text-primary-text shadow-solid-2 shadow-body-bg [&amp;:nth-child(n+2)]:hidden lg:[&amp;:nth-child(n+2)]:inline-flex h-8 w-8 sm:h-9 sm:w-9"/></div><div class="avatar__info -mt-0.5 text-base"><span class="text-body-secondary-color"><div>Written by <span>Edvard</span></div> <!-- -->Updated over 2 years ago</span></div></div></div></div><div class="jsx-ef86202475c6562f "><div class="jsx-ef86202475c6562f article_body"><article class="jsx-ef86202475c6562f "><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Our translation proxy may keep cached version of original pages to save traffic, decrease page load time, which potentially can load translated version of the website more quickly than the original version.<br/>​<br/>​<b><i>Note:</i></b><i> This is only for paid plans of GTranslate.</i></p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Below you will find description how our system decides to cache a page and how to check the cache status. This will help you to optimize caching for your website and skip some dynamic pages from being cached by GTranslate network.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p><b><i>Note:</i></b><i> This article is written for technical persons. If you need help, please contact our live chat.</i></p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-subheading intercom-interblocks-align-left"><h2 id="cache-control-response-header">Cache-Control response header</h2></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Our caching system respects Cache-Control response header values. For example if you have set Cache-Control: no-cache for some page, our system will not cache the original content and each time a fresh version will be loaded for translation from your original website.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>This is helpful if you have a dynamic page and wish to skip caching for it.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-subheading intercom-interblocks-align-left"><h2 id="pragma-request-header">Pragma request header</h2></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Our caching system respects Pragma request header values. For example if you request a translated page by having Pragma: no-cache request header set, our system will load a fresh copy before translation.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>This header is set by your browser when you make a hard refresh in your browser by <b>Ctrl + F5</b> for Windows/Unix platforms or <b>⌘ Cmd + ⇧ Shift + R</b> on Mac.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>When there is a hard refresh, the fresh version will be cached by our system for future.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>This is useful when you update something in your original version and wish the changes to appear instantly on the translated versions. For that you just need to hard refresh the translated page.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-subheading intercom-interblocks-align-left"><h2 id="gt-no-cache-cookie">gt-no-cache cookie</h2></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Our caching system checks for presence of gt-no-cache cookie and if it is set our system loads a fresh copy for translation.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>This is useful when a static page can become dynamic upon login or some other scenario.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-subheading intercom-interblocks-align-left"><h2 id="query-string-with-dynamic-parameter">Query string with &quot;dynamic&quot; parameter</h2></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Our caching system checks for dynamic parameter in query string of a page and when it is set our system loads a fresh copy for translation. For example <a href="http://ru.example.com/?dynamic" rel="nofollow noopener noreferrer" target="_blank">http://ru.example.com/?dynamic</a> will always be loaded from original website instead of our cache.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>This is useful when you do not have option to control other options described above and is present as an alternative for convenience.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-subheading intercom-interblocks-align-left"><h2 id="page-size">Page size</h2></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Our caching system will cache responses less than 1 MB in size only (including compressed responses). Usually HTML pages are less than 100 KB in size, but there are cases when the page size can go beyond this limit, especially when you are in-lining CSS and JavaScript code into your HTML.<br/>​</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-heading intercom-interblocks-align-left"><h1 id="gtranslate-cache-status">GTranslate cache status</h1></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>We set <b>X-GT-Cache-Status</b> response header for translated pages which provides information about the page cache status. It may have the following values:</p></div><div class="intercom-interblocks-unordered-nested-list"><ul><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>HIT-ORIG</p></div></li><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>HIT-TRANS</p></div></li><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>PURGED</p></div></li><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>MISS</p></div></li><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>BYPASS</p></div></li><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>OFF</p></div></li></ul></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p><b>HIT-ORIG</b> is set when we load the original content from our cache.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p><b>HIT-TRANS</b> is set when we load the translated content from our cache.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p><b>PURGED</b> is set when we have cache on our side, but we deleted it during the request.<br/>​<b>MISS</b> is set when there is no cache available on our side and we load the original content from your website.<br/>​<b>BYPASS</b> is set when for some reason we should not load the cached version from our cache and it is loaded from the original website. For example this can happen for hard refresh cases.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p><b>OFF</b> is set when we have manually turned off caching globally from our side for your website.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>In case we have a cached version on our end we also set <b>X-GT-Cache-Age</b> which represents the cache age in seconds.</p></div></article></div></div></div></div><div class="intercom-reaction-picker -mb-4 -ml-4 -mr-4 mt-6 rounded-card sm:-mb-2 sm:-ml-1 sm:-mr-1 sm:mt-8"><div class="intercom-reaction-prompt">Did this answer your question?</div><button class="intercom-reaction" aria-label="Disappointed Reaction" tabindex="0" data-reaction-text="disappointed" aria-pressed="false"><span title="Disappointed">😞</span></button><button class="intercom-reaction" aria-label="Neutral Reaction" tabindex="0" data-reaction-text="neutral" aria-pressed="false"><span title="Neutral">😐</span></button><button class="intercom-reaction" aria-label="Smiley Reaction" tabindex="0" data-reaction-text="smiley" aria-pressed="false"><span title="Smiley">😃</span></button></div></div></div></section></section></div><footer id="footer" class="mt-24 shrink-0 bg-footer-bg px-0 py-12 text-left text-base text-footer-color"><div class="shrink-0 grow basis-auto px-5 sm:px-10"><div class="mx-auto max-w-240 sm:w-auto"><div><div class="text-center" data-testid="simple-footer-layout"><div class="align-middle text-lg text-footer-color"><a class="no-underline" href="/en/"><img data-testid="logo-img" src="https://downloads.intercomcdn.com/i/o/123871/cb470d5319bca063e730e844/2bf3e152937cb2650b3b08911c5d62e2.png" alt="GTranslate Help Center" class="max-h-8 contrast-80 inline"/></a></div><div class="mt-10" data-testid="simple-footer-links"><div class="flex flex-row justify-center"><span><ul data-testid="custom-links" class="mb-4 p-0" id="custom-links"><li class="mx-3 inline-block list-none"><a target="_blank" href="https://gtranslate.io/about-us" rel="nofollow noreferrer noopener" data-testid="footer-custom-link-0" class="no-underline">About Us</a></li><li class="mx-3 inline-block list-none"><a target="_blank" href="https://gtranslate.io/#pricing" rel="nofollow noreferrer noopener" data-testid="footer-custom-link-1" class="no-underline">Pricing</a></li><li class="mx-3 inline-block list-none"><a target="_blank" href="https://gtranslate.io/videos" rel="nofollow noreferrer noopener" data-testid="footer-custom-link-2" class="no-underline">Videos</a></li><li class="mx-3 inline-block list-none"><a target="_blank" href="https://gtranslate.io/blog" rel="nofollow noreferrer noopener" data-testid="footer-custom-link-3" class="no-underline">Blog</a></li><li class="mx-3 inline-block list-none"><a target="_blank" href="https://gtranslate.io/terms" rel="nofollow noreferrer noopener" data-testid="footer-custom-link-4" class="no-underline">Terms of Service</a></li><li class="mx-3 inline-block list-none"><a target="_blank" href="https://gtranslate.io/sitemap" rel="nofollow noreferrer noopener" data-testid="footer-custom-link-5" class="no-underline">Sitemap</a></li></ul></span></div></div><div class="mt-10 flex justify-center"><div class="flex items-center text-sm" data-testid="intercom-advert-branding"><svg width="14" height="14" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><title>Intercom</title><g clip-path="url(#clip0_1870_86937)"><path d="M14 0H2C0.895 0 0 0.895 0 2V14C0 15.105 0.895 16 2 16H14C15.105 16 16 15.105 16 14V2C16 0.895 15.105 0 14 0ZM10.133 3.02C10.133 2.727 10.373 2.49 10.667 2.49C10.961 2.49 11.2 2.727 11.2 3.02V10.134C11.2 10.428 10.96 10.667 10.667 10.667C10.372 10.667 10.133 10.427 10.133 10.134V3.02ZM7.467 2.672C7.467 2.375 7.705 2.132 8 2.132C8.294 2.132 8.533 2.375 8.533 2.672V10.484C8.533 10.781 8.293 11.022 8 11.022C7.705 11.022 7.467 10.782 7.467 10.484V2.672ZM4.8 3.022C4.8 2.727 5.04 2.489 5.333 2.489C5.628 2.489 5.867 2.726 5.867 3.019V10.133C5.867 10.427 5.627 10.666 5.333 10.666C5.039 10.666 4.8 10.426 4.8 10.133V3.02V3.022ZM2.133 4.088C2.133 3.792 2.373 3.554 2.667 3.554C2.961 3.554 3.2 3.792 3.2 4.087V8.887C3.2 9.18 2.96 9.419 2.667 9.419C2.372 9.419 2.133 9.179 2.133 8.886V4.086V4.088ZM13.68 12.136C13.598 12.206 11.622 13.866 8 13.866C4.378 13.866 2.402 12.206 2.32 12.136C2.096 11.946 2.07 11.608 2.262 11.384C2.452 11.161 2.789 11.134 3.012 11.324C3.044 11.355 4.808 12.8 8 12.8C11.232 12.8 12.97 11.343 12.986 11.328C13.209 11.138 13.546 11.163 13.738 11.386C13.93 11.61 13.904 11.946 13.68 12.138V12.136ZM13.867 8.886C13.867 9.181 13.627 9.42 13.333 9.42C13.039 9.42 12.8 9.18 12.8 8.887V4.087C12.8 3.791 13.04 3.553 13.333 3.553C13.628 3.553 13.867 3.791 13.867 4.086V8.886Z" class="fill-current"></path></g><defs><clipPath id="clip0_1870_86937"><rect width="16" height="16" fill="none"></rect></clipPath></defs></svg><a href="https://www.intercom.com/intercom-link?company=GTranslate&amp;solution=customer-support&amp;utm_campaign=intercom-link&amp;utm_content=We+run+on+Intercom&amp;utm_medium=help-center&amp;utm_referrer=https%3A%2F%2Fdocs.gtranslate.io%2Fen%2Farticles%2F1871130-how-caching-works-in-gtranslate-network&amp;utm_source=desktop-web" class="pl-2 align-middle no-underline">We run on Intercom</a></div></div></div></div></div></div></footer></main></div></div><script id="__NEXT_DATA__" type="application/json" nonce="vueZVOYPpE/V13dEPF2KEJ8Z+QqF4LUyBQ/xdQXzYYs=">{"props":{"pageProps":{"app":{"id":"r70azrgx","messengerUrl":"https://widget.intercom.io/widget/r70azrgx","name":"GTranslate","poweredByIntercomUrl":"https://www.intercom.com/intercom-link?company=GTranslate\u0026solution=customer-support\u0026utm_campaign=intercom-link\u0026utm_content=We+run+on+Intercom\u0026utm_medium=help-center\u0026utm_referrer=https%3A%2F%2Fdocs.gtranslate.io%2Fen%2Farticles%2F1871130-how-caching-works-in-gtranslate-network\u0026utm_source=desktop-web","features":{"customNotFoundErrorMessage":false}},"helpCenterSite":{"customDomain":"docs.gtranslate.io","defaultLocale":"en","disableBranding":false,"externalLoginName":null,"externalLoginUrl":null,"footerContactDetails":null,"footerLinks":{"custom":[{"id":1331,"help_center_site_id":263376,"title":"About Us","url":"https://gtranslate.io/about-us","sort_order":1,"link_location":"footer","site_link_group_id":4875},{"id":1332,"help_center_site_id":263376,"title":"Pricing","url":"https://gtranslate.io/#pricing","sort_order":2,"link_location":"footer","site_link_group_id":4875},{"id":1333,"help_center_site_id":263376,"title":"Videos","url":"https://gtranslate.io/videos","sort_order":3,"link_location":"footer","site_link_group_id":4875},{"id":1335,"help_center_site_id":263376,"title":"Blog","url":"https://gtranslate.io/blog","sort_order":4,"link_location":"footer","site_link_group_id":4875},{"id":1334,"help_center_site_id":263376,"title":"Terms of Service","url":"https://gtranslate.io/terms","sort_order":5,"link_location":"footer","site_link_group_id":4875},{"id":1336,"help_center_site_id":263376,"title":"Sitemap","url":"https://gtranslate.io/sitemap","sort_order":6,"link_location":"footer","site_link_group_id":4875}],"socialLinks":[],"linkGroups":[{"title":null,"links":[{"title":"About Us","url":"https://gtranslate.io/about-us"},{"title":"Pricing","url":"https://gtranslate.io/#pricing"},{"title":"Videos","url":"https://gtranslate.io/videos"},{"title":"Blog","url":"https://gtranslate.io/blog"},{"title":"Terms of Service","url":"https://gtranslate.io/terms"},{"title":"Sitemap","url":"https://gtranslate.io/sitemap"}]}]},"headerLinks":[],"homeCollectionCols":1,"googleAnalyticsTrackingId":null,"googleTagManagerId":null,"pathPrefixForCustomDomain":null,"seoIndexingEnabled":true,"helpCenterId":263376,"url":"http://docs.gtranslate.io","customizedFooterTextContent":null},"localeLinks":[{"id":"en","absoluteUrl":"http://docs.gtranslate.io/en/articles/1871130-how-caching-works-in-gtranslate-network","available":true,"name":"English","selected":true,"url":"/en/articles/1871130-how-caching-works-in-gtranslate-network"}],"requestContext":{"articleSource":null,"canonicalUrl":"https://docs.gtranslate.io/en/articles/1871130-how-caching-works-in-gtranslate-network","headerless":false,"isDefaultDomainRequest":false,"nonce":"vueZVOYPpE/V13dEPF2KEJ8Z+QqF4LUyBQ/xdQXzYYs=","rootUrl":"/en/","sheetUserCipher":null,"type":"help-center"},"theme":{"color":"0385CD","siteName":"GTranslate Help Center","headline":"","headerFontColor":"FFFFFF","logo":"https://downloads.intercomcdn.com/i/o/123871/cb470d5319bca063e730e844/2bf3e152937cb2650b3b08911c5d62e2.png","logoHeight":"75","header":null,"favicon":"https://intercom.help/gtranslate/assets/favicon","locale":"en","homeUrl":"https://gtranslate.io","social":null,"urlPrefixForDefaultDomain":"https://intercom.help/gtranslate","customDomain":"docs.gtranslate.io","customDomainUsesSsl":false,"customizationOptions":{"customizationType":1,"header":{"backgroundColor":"#0385CD","fontColor":"#FFFFFF","fadeToEdge":false,"backgroundGradient":null,"backgroundImageId":null,"backgroundImageUrl":null},"body":{"backgroundColor":"#ffffff","fontColor":null,"fadeToEdge":null,"backgroundGradient":null,"backgroundImageId":null},"footer":{"backgroundColor":"#ffffff","fontColor":"#909aa5","fadeToEdge":null,"backgroundGradient":null,"backgroundImageId":null,"showRichTextField":null},"layout":{"homePage":{"blocks":[{"type":"tickets-portal-link","enabled":false},{"type":"collection-list","columns":1,"template":0},{"type":"article-list","columns":2,"enabled":false,"localizedContent":[{"title":"","locale":"en","links":[{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"}]}]},{"type":"content-block","enabled":false,"columns":1}]},"collectionsPage":{"showArticleDescriptions":false},"articlePage":{},"searchPage":{}},"collectionCard":{"global":{"backgroundColor":null,"fontColor":"0385CD","fadeToEdge":null,"backgroundGradient":null,"backgroundImageId":null,"showIcons":true,"backgroundImageUrl":null},"collections":[]},"global":{"font":{"customFontFaces":[],"primary":null,"secondary":null},"componentStyle":{"card":{"type":"bordered","borderRadius":8}},"namedComponents":{"header":{"subheader":{"enabled":false,"style":{"backgroundColor":"#000000","fontColor":"#FFFFFF"}},"style":{"height":"245px","align":"start","justify":"end"}},"searchBar":{"style":{"width":"100%","borderRadius":10}},"footer":{"type":0}},"brand":{"colors":[],"websiteUrl":""}},"contentBlock":{"blockStyle":{"backgroundColor":"#ffffff","fontColor":"#1a1a1a","fadeToEdge":null,"backgroundGradient":null,"backgroundImageId":null,"backgroundImageUrl":null},"buttonOptions":{"backgroundColor":"#334BFA","fontColor":"#ffffff","borderRadius":6},"isFullWidth":false}},"helpCenterName":"GTranslate Help Center","footerLogo":"https://downloads.intercomcdn.com/i/o/123871/cb470d5319bca063e730e844/2bf3e152937cb2650b3b08911c5d62e2.png","footerLogoHeight":"75","localisedInformation":{"contentBlock":{"locale":"en","title":"Content section title","withButton":false,"description":"","buttonTitle":"Button title","buttonUrl":""}}},"user":{"userId":"8ad4a313-9a00-479c-a410-0703a2b50d61","role":"visitor_role"},"articleContent":{"articleId":"1871130","author":{"avatar":"https://static.intercomassets.com/avatars/1200734/square_128/edvard-1494338504.png","name":"Edvard","first_name":"Edvard","avatar_shape":"circle"},"blocks":[{"type":"paragraph","text":"Our translation proxy may keep cached version of original pages to save traffic, decrease page load time, which potentially can load translated version of the website more quickly than the original version.\u003cbr\u003e\u003cbr\u003e\u003cb\u003e\u003ci\u003eNote:\u003c/i\u003e\u003c/b\u003e\u003ci\u003e This is only for paid plans of GTranslate.\u003c/i\u003e","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"Below you will find description how our system decides to cache a page and how to check the cache status. This will help you to optimize caching for your website and skip some dynamic pages from being cached by GTranslate network.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"\u003cb\u003e\u003ci\u003eNote:\u003c/i\u003e\u003c/b\u003e\u003ci\u003e This article is written for technical persons. If you need help, please contact our live chat.\u003c/i\u003e","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"subheading","text":"Cache-Control response header","idAttribute":"cache-control-response-header"},{"type":"paragraph","text":"Our caching system respects Cache-Control response header values. For example if you have set Cache-Control: no-cache for some page, our system will not cache the original content and each time a fresh version will be loaded for translation from your original website.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"This is helpful if you have a dynamic page and wish to skip caching for it.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"subheading","text":"Pragma request header","idAttribute":"pragma-request-header"},{"type":"paragraph","text":"Our caching system respects Pragma request header values. For example if you request a translated page by having Pragma: no-cache request header set, our system will load a fresh copy before translation.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"This header is set by your browser when you make a hard refresh in your browser by \u003cb\u003eCtrl + F5\u003c/b\u003e for Windows/Unix platforms or \u003cb\u003e⌘ Cmd + ⇧ Shift + R\u003c/b\u003e on Mac.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"When there is a hard refresh, the fresh version will be cached by our system for future.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"This is useful when you update something in your original version and wish the changes to appear instantly on the translated versions. For that you just need to hard refresh the translated page.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"subheading","text":"gt-no-cache cookie","idAttribute":"gt-no-cache-cookie"},{"type":"paragraph","text":"Our caching system checks for presence of gt-no-cache cookie and if it is set our system loads a fresh copy for translation.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"This is useful when a static page can become dynamic upon login or some other scenario.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"subheading","text":"Query string with \"dynamic\" parameter","idAttribute":"query-string-with-dynamic-parameter"},{"type":"paragraph","text":"Our caching system checks for dynamic parameter in query string of a page and when it is set our system loads a fresh copy for translation. For example \u003ca href=\"http://ru.example.com/?dynamic\" rel=\"nofollow noopener noreferrer\" target=\"_blank\"\u003ehttp://ru.example.com/?dynamic\u003c/a\u003e will always be loaded from original website instead of our cache.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"This is useful when you do not have option to control other options described above and is present as an alternative for convenience.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"subheading","text":"Page size","idAttribute":"page-size"},{"type":"paragraph","text":"Our caching system will cache responses less than 1 MB in size only (including compressed responses). Usually HTML pages are less than 100 KB in size, but there are cases when the page size can go beyond this limit, especially when you are in-lining CSS and JavaScript code into your HTML.\u003cbr\u003e","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"heading","text":"GTranslate cache status","idAttribute":"gtranslate-cache-status"},{"type":"paragraph","text":"We set \u003cb\u003eX-GT-Cache-Status\u003c/b\u003e response header for translated pages which provides information about the page cache status. It may have the following values:","class":"no-margin"},{"type":"unorderedNestedList","text":"- HIT-ORIG\n- HIT-TRANS\n- PURGED\n- MISS\n- BYPASS\n- OFF","items":[{"content":[{"type":"paragraph","text":"HIT-ORIG","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"HIT-TRANS","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"PURGED","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"MISS","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"BYPASS","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"OFF","class":"no-margin"}]}]},{"type":"paragraph","text":"\u003cb\u003eHIT-ORIG\u003c/b\u003e is set when we load the original content from our cache.","class":"no-margin"},{"type":"paragraph","text":"\u003cb\u003eHIT-TRANS\u003c/b\u003e is set when we load the translated content from our cache.","class":"no-margin"},{"type":"paragraph","text":"\u003cb\u003ePURGED\u003c/b\u003e is set when we have cache on our side, but we deleted it during the request.\u003cbr\u003e\u003cb\u003eMISS\u003c/b\u003e is set when there is no cache available on our side and we load the original content from your website.\u003cbr\u003e\u003cb\u003eBYPASS\u003c/b\u003e is set when for some reason we should not load the cached version from our cache and it is loaded from the original website. For example this can happen for hard refresh cases.","class":"no-margin"},{"type":"paragraph","text":"\u003cb\u003eOFF\u003c/b\u003e is set when we have manually turned off caching globally from our side for your website.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"In case we have a cached version on our end we also set \u003cb\u003eX-GT-Cache-Age\u003c/b\u003e which represents the cache age in seconds.","class":"no-margin"}],"collectionId":"551610","description":"Technical explanation about how our caching system works.","id":"1077181","lastUpdated":"Updated over 2 years ago","relatedArticles":null,"targetUserType":"everyone","title":"How caching works in GTranslate network?","showTableOfContents":false,"synced":false},"breadcrumbs":[{"url":"http://docs.gtranslate.io/en/collections/551610-how-tos","name":"How-tos"}],"selectedReaction":null,"showReactions":true,"themeCSSCustomProperties":{"--body-bg":"rgb(255, 255, 255)","--body-image":"none","--body-bg-rgb":"255, 255, 255","--body-border":"rgb(230, 230, 230)","--body-primary-color":"#1a1a1a","--body-secondary-color":"#737373","--body-reaction-bg":"rgb(242, 242, 242)","--body-reaction-text-color":"rgb(64, 64, 64)","--body-toc-active-border":"#737373","--body-toc-inactive-border":"#f2f2f2","--body-toc-inactive-color":"#737373","--body-toc-active-font-weight":400,"--body-table-border":"rgb(204, 204, 204)","--body-color":"hsl(0, 0%, 0%)","--footer-bg":"rgb(255, 255, 255)","--footer-image":"none","--footer-border":"rgb(230, 230, 230)","--footer-color":"hsl(211, 10%, 61%)","--header-bg":"rgb(3, 133, 205)","--header-image":"none","--header-color":"hsl(0, 0%, 100%)","--collection-card-bg":"rgb(255, 255, 255)","--collection-card-image":"none","--collection-card-color":"hsl(201, 97%, 41%)","--card-bg":"rgb(255, 255, 255)","--card-border-color":"rgb(230, 230, 230)","--card-border-inner-radius":"6px","--card-border-radius":"8px","--card-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--search-bar-border-radius":"10px","--search-bar-width":"100%","--ticket-blue-bg-color":"#dce1f9","--ticket-blue-text-color":"#334bfa","--ticket-green-bg-color":"#d7efdc","--ticket-green-text-color":"#0f7134","--ticket-orange-bg-color":"#ffebdb","--ticket-orange-text-color":"#b24d00","--header-height":"245px","--header-subheader-background-color":"#000000","--header-subheader-font-color":"#FFFFFF","--content-block-bg":"rgb(255, 255, 255)","--content-block-image":"none","--content-block-color":"hsl(0, 0%, 10%)","--content-block-button-bg":"rgb(51, 75, 250)","--content-block-button-image":"none","--content-block-button-color":"hsl(0, 0%, 100%)","--content-block-button-radius":"6px","--primary-color":"hsl(201, 97%, 41%)","--primary-color-alpha-10":"hsla(201, 97%, 41%, 0.1)","--primary-color-alpha-60":"hsla(201, 97%, 41%, 0.6)","--text-on-primary-color":"#1a1a1a"},"intl":{"defaultLocale":"en","locale":"en","messages":{"layout.skip_to_main_content":"Skip to main content","article.attachment_icon":"Attachment icon","article.related_articles":"Related Articles","article.written_by":"Written by \u003cb\u003e{author}\u003c/b\u003e","article.table_of_contents":"Table of contents","breadcrumb.all_collections":"All Collections","collection.article_count.one":"{count} article","collection.article_count.other":"{count} articles","collection.articles_heading":"Articles","collection.sections_heading":"Collections","collection.written_by.one":"Written by \u003cb\u003e{author}\u003c/b\u003e","collection.written_by.two":"Written by \u003cb\u003e{author1}\u003c/b\u003e and \u003cb\u003e{author2}\u003c/b\u003e","collection.written_by.three":"Written by \u003cb\u003e{author1}\u003c/b\u003e, \u003cb\u003e{author2}\u003c/b\u003e and \u003cb\u003e{author3}\u003c/b\u003e","collection.written_by.four":"Written by \u003cb\u003e{author1}\u003c/b\u003e, \u003cb\u003e{author2}\u003c/b\u003e, \u003cb\u003e{author3}\u003c/b\u003e and 1 other","collection.written_by.other":"Written by \u003cb\u003e{author1}\u003c/b\u003e, \u003cb\u003e{author2}\u003c/b\u003e, \u003cb\u003e{author3}\u003c/b\u003e and {count} others","collection.by.one":"By {author}","collection.by.two":"By {author1} and 1 other","collection.by.other":"By {author1} and {count} others","collection.by.count_one":"1 author","collection.by.count_plural":"{count} authors","community_banner.tip":"Tip","community_banner.label":"\u003cb\u003eNeed more help?\u003c/b\u003e Get support from our {link}","community_banner.link_label":"Community Forum","community_banner.description":"Find answers and get help from Intercom Support and Community Experts","header.headline":"Advice and answers from the {appName} Team","header.menu.open":"Open menu","header.menu.close":"Close menu","locale_picker.aria_label":"Change language","not_authorized.cta":"You can try sending us a message or logging in at {link}","not_found.title":"Uh oh. That page doesn’t exist.","not_found.not_here":"That page isn’t here anymore","not_found.not_authorized":"Unable to load this article, you may need to sign in first","not_found.try_searching":"Try searching for your answer","not_found.send_a_message":"Or just send us a message","tickets_portal_bad_request.title":"No access to tickets portal","tickets_portal_bad_request.learn_more":"Learn more","tickets_portal_bad_request.send_a_message":"Please contact your admin.","no_articles.title":"Empty Help Center","no_articles.no_articles":"This Help Center doesn't have any articles or collections yet.","preview.invalid_preview":"There is no preview available for {previewType}","reaction_picker.did_this_answer_your_question":"Did this answer your question?","reaction_picker.reaction.disappointed.title":"Disappointed","reaction_picker.reaction.disappointed.aria_label":"Disappointed Reaction","reaction_picker.reaction.neutral.title":"Neutral","reaction_picker.reaction.neutral.aria_label":"Neutral Reaction","reaction_picker.reaction.smiley.title":"Smiley","reaction_picker.reaction.smiley.aria_label":"Smiley Reaction","search.box_placeholder":"Search for articles...","search.no_results":"We couldn't find any articles for:","search.clear_search":"Clear search query","search.successful":"Search results for:","search.submit_btn":"Search for articles","footer.powered_by":"We run on Intercom","footer.social.facebook":"Facebook","footer.social.linkedin":"LinkedIn","footer.social.twitter":"Twitter","tickets.title":"Tickets","tickets.company_selector_option":"{companyName}’s tickets","tickets.all_states":"All states","tickets.filters.company_tickets":"All tickets","tickets.filters.my_tickets":"Created by me","tickets.no_tickets_found":"No tickets found","tickets.navigation.home":"Home","tickets.navigation.tickets_portal":"Tickets portal","tickets.navigation.ticket_details":"Ticket #{ticketId}","tickets.view_conversation":"View conversation","tickets.send_message":"Send us a message","tickets.continue_conversation":"Continue the conversation","tickets.avatar_image.image_alt":"{firstName}’s avatar","tickets.fields.id":"Ticket ID","tickets.fields.type":"Ticket type","tickets.fields.title":"Title","tickets.fields.description":"Description","tickets.fields.created_by":"Created by","tickets.fields.email_for_notification":"You will be notified here and by email","tickets.fields.created_at":"Creation date","tickets.fields.state":"Ticket state","tickets.fields.assignee":"Assignee","tickets.link-block.title":"Tickets portal.","tickets.link-block.description":"Track the progress of all tickets related to your company.","tickets.states.submitted":"Submitted","tickets.states.in_progress":"In progress","tickets.states.waiting_on_customer":"Waiting on you","tickets.states.resolved":"Resolved","tickets.states.description.unassigned.submitted":"We will pick this up soon","tickets.states.description.assigned.submitted":"{assigneeName} will pick this up soon","tickets.states.description.unassigned.in_progress":"We are working on this!","tickets.states.description.assigned.in_progress":"{assigneeName} is working on this!","tickets.states.description.unassigned.waiting_on_customer":"We need more information from you","tickets.states.description.assigned.waiting_on_customer":"{assigneeName} needs more information from you","tickets.states.description.unassigned.resolved":"We have completed your ticket","tickets.states.description.assigned.resolved":"{assigneeName} has completed your ticket","tickets.attributes.boolean.true":"Yes","tickets.attributes.boolean.false":"No"}},"_sentryTraceData":"913e785565d14b3e7960851b58215089-a70fdbfd493f03d9-0","_sentryBaggage":"sentry-environment=production,sentry-release=xnr3usaXfmOcVOl7XggGS,sentry-public_key=187f842308a64dea9f1f64d4b1b9c298,sentry-trace_id=913e785565d14b3e7960851b58215089,sentry-sampled=false"},"__N_SSP":true},"page":"/[helpCenterIdentifier]/[locale]/articles/[articleSlug]","query":{"helpCenterIdentifier":"gtranslate","locale":"en","articleSlug":"1871130-how-caching-works-in-gtranslate-network"},"buildId":"xnr3usaXfmOcVOl7XggGS","assetPrefix":"https://static.intercomassets.com","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[9807],"gssp":true,"scriptLoader":[]}</script></body></html>

Pages: 1 2 3 4 5 6 7 8 9 10