Kitt Knowledge Base

Setting: Multi Vary


What is MultiLanguage / MultiCurrency Cache Warmup Feature?


When a page is cached, it means that a static copy of the output is made from a requested URL. However, a static copy does not allow any changes to it. The dynamics are lost through anHTTP cache. If you now use several languages and maybe different currencies, the effects are fatal if the URL does not change at the same time. Every conventional HTTP cache excludesthe use of multiple languages and multiple currencies, since only 1 cache copy of 1 URL can be generated with such cache types.

LiteSpeed LScache is currently the only HTTP cache that can create an infinite number of cache copies of 1 URL. This is made possible by the so-called Cache Varies. Cache Varies are generatedfrom a large number of HTTP parameters, which are also used in rewrite rules. A significant parameter for this is the cookie. When changing the language and currency, OpenCart sets acorresponding cookie and a changing value, which enables the use of Cache Varies and thus the language and currency selection.

If you now want to warm up the cache using a cache crawler, then this crawler must be able to imitate every cache vary. The Kitt Cache Crawler is currently the only cache warmupcrawler that supports this feature. If you are using more than 1 language and/or currency, then make the appropriate selection so that Kitt can warm up the associated cache.

If only 1 additional language or currency is used, this additional language/currency must be selected in any case, otherwise the country/language selection in the shop front end willnot work, since depending on the language and currency selection, Kitt uses additional rewrite rules in the .htaccess writes.

More Kitt Cache Crawler related Topics