Set Up Translation Cache
This article is for Account Owners and Project Managers.
Smartling offers a caching feature to help prevent untranslated content from appearing on your localized sites. This typically happens when you publish changes to your source site before the translation process has been completed.
Smartling's caching feature allows you to take a snapshot of the current state of your translated pages, which are served to your site visitors. Once new content has been fully translated, your translation cache will be refreshed, bringing your localized pages in sync with your source site.
Static cache may not work on sites with a login or content customized based on user. Static cache may cause users to be logged in on a site not as the intended user as cookies may also be cached. Contact your Customer Success Manager to discuss if Smartling's caching tool is a good fit for your site.
Once the caching feature has been enabled for your account:
- From within your Global Delivery Network project, click on Global Delivery Network > Configuration > Static Cache.
- Click the toggle to ON for any localized domain in your project for which you want to enable a cache.
Once caching has been enabled for a site, each page will be cached the first time it is visited. You can populate the cache manually by browsing your translated website or by using a crawler.
From then on, requests to that site will be served from the cache and any changes to your source site will not be reflected in cached domains.
There are two ways to reset the cache for a localized page - automatic and manual.
When all new strings on a page for a particular localized site have reached the published state, the cache for that page will be reset automatically.
You can also append the URL parameter ?smartling_editmode=5 to the end of any localized page URL to use the inline browser tool to manage the cache for a translated page.