I'm trying to set up memcached on a django project on which I'm using the i18n internationalization system.
Sadly, it looks that memcached is not caching different versions of the same page according to the language. In facts, when I switch language, it gets the previous cached page, without caring about the language switch.
I'm using the per site cache, and I haven't forgot to add the decorator @vary_on_headers('Content-Language')
to my views.
What am I doing wrong?