Gabbar
Gabbar

Reputation: 4066

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

Upvotes: 4

Views: 679

Answers (1)

Martijn van der Put
Martijn van der Put

Reputation: 4092

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.

Upvotes: 9

Related Questions