Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sitecore caching and languages

I have a basic understanding of how Sitecore caching works including how all the different variations work.

But I am not how Sitecore handles languages during caching. Is each language version of a page treated as a different data source and is varybydata the answer then? If not, how can I safely apply caching to different language versions of a page?

Thanks

like image 837
Gabbar Avatar asked Jan 16 '23 03:01

Gabbar


1 Answers

Sitecore includes the current language in the cache key, among other things, so every sublayout or rendering is treated as a different version in each language. So apply caching to different language versions should be no problem.

like image 76
Martijn van der Put Avatar answered Feb 12 '23 13:02

Martijn van der Put