Culture Picker and Cache

Topics: Localization, Troubleshooting, Русский (Russian)
Dec 25, 2013 at 1:28 PM
Edited Dec 25, 2013 at 2:50 PM
Let's say I have a multicultural site.
When I have Cache module then at picking culture in culture picker I have a query string attached to url, like this:

Each of this page gets cached (because of the unique url I suppose). But the thing is, each time parameter is new and differs from any other< thus making EACH page requested to be cached. For instance, I change:

6) RU -> EN :
7) EN -> RU :
8) RU -> EN :
9) EN -> RU :

and now in cache I have 4 pages on 4 requests. This means, that "de facto" caching is not working with multiple cultures. At least in my particular case.

How can I make caching work?
Dec 28, 2013 at 5:25 PM
This shouldn't be a problem, see:
Dec 28, 2013 at 10:10 PM
Ok, I see what's happening there. Culture Picker module redirects to another page. But I need to see cached page, not a new one. Is it possible to disable that __r url add-ons or may be set some logic to customize that behavior?
Dec 28, 2013 at 10:33 PM
I don't think you can simply disable this feature (probably you could try removing it from a result filter, but make sure to make your module depend on OutputCache). If you really need it you could open an issue about it for evaluation.