Welcome Guest, Not a member yet? Register   Sign In
Cache and multilingual site
#1

[eluser]Référencement Google[/eluser]
Hi,

I get a problem using CI core based cache library.
I have set a multingual system usin the Wiki one that I found here:
http://codeigniter.com/wiki/Language_Selection/

All ok with this until I wanted the add cache to the website. While switching language, it still read to old cached file, then for the user it's look like the language have not changed. It's only once the cache expires that the user can see the content with switched language.

Anyone has experienced this problem, and how to solve it?

Christophe
#2

[eluser]sikkle[/eluser]
You totally right.

At the moment so many time at the end i feel the URI way is the better way to handle language.

If no language into uri, just force default one.

see ya arround buddy.
#3

[eluser]Référencement Google[/eluser]
See ya arround Sikkle ;-)
#4

[eluser]Roland B.[/eluser]
[quote author="Too Pixel" date="1202428336"]Hi,

I get a problem using CI core based cache library.
I have set a multingual system usin the Wiki one that I found here:
http://codeigniter.com/wiki/Language_Selection/

All ok with this until I wanted the add cache to the website. While switching language, it still read to old cached file, then for the user it's look like the language have not changed. It's only once the cache expires that the user can see the content with switched language.

Anyone has experienced this problem, and how to solve it?

Christophe[/quote]

Just use the new Language Selection 2. It is "cache-proof" :-)
#5

[eluser]Référencement Google[/eluser]
Hooo thanks that's real nice !




Theme © iAndrew 2016 - Forum software by © MyBB