Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Frontpage cached - always last language
(1 viewing) (1) Guest
Support forum for customers who have purchased JoomSEF 3 (Joomla 1.5 compatible). Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: Frontpage cached - always last language

Frontpage cached - always last language 14 years, 6 months ago #12972

Hi:

I am pulling my hair out as I am writing this email. I searched through this forum and cannot find something that solves my problem.

BTW, I paid for the JoomSEF software and installation.

My JoomSEF is working, but there is a language problem. I want the language to be determined by the browser's language. But I also want speed improvement by caching the pages. What I found is that the server caches the last language that was loaded on the frontpage. If a new user comes along, the server will use this last language regardless on what we setup the JoomSEF Joomfish configuration. Here is how I tested it.

with System-cache enabled:
- Loaded Traditional Chinese (default language) frontpage.
- Used private browsing in firefox to simulate a new user. Set the language to English. Load the page and it's in Chinese.

with System-cache disabled:
- Loaded Traditional Chinese (default language) frontpage.
- Used private browsing in firefox to simulate a new user. Set the language to English. Load the page and it's in English.

I have tested it with jfrouter enabled. The plugin order are System - ARTIO JoomSEF, then System - Jfrouter

I am using the latest and greatest Joomla 1.5.8, JoomSEF 3.6.5, and Joomfish 2.0.4

I tested it with jfrouter enabled and I am getting 404 errors everywhere apart from the homepage. But with system cache enabled, I am getting the desired outcome. The language is always the browser's preferred language, not the cached frontpage language.

I know that in JoomSEF 3.6.5, it is suppose to work with the jfrouter enabled. But I am still getting 404 errors. The simpliest solution is to enable the jfrouter and not get the 404 errors, but how do I do that?

Albert
The topic has been locked.

Re:Frontpage cached - always last language 14 years, 6 months ago #12987

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,

Unfortunately, there is no way to fix this at the moment, because caching in Joomla happens before SEF and its language determination is even called. We'll try to look into this to see if there's some workaround that can be done by JoomSEF.

Best regards,
ARTIO Support Team
ARTIO Support Team
The topic has been locked.

Re:Frontpage cached - always last language 14 years, 6 months ago #13018

Hi:

I thought 3.6.5 is suppose to work with jfrouter enabled. If jfrouter is enabled, then the problem goes away. But I am getting 404 on all other pages other than frontpage.

Can you let me know how to enable my jfrouter without the 404s?

Thanks.

Albert
The topic has been locked.

Re:Frontpage cached - always last language 14 years, 5 months ago #13061

  • dajo
  • OFFLINE
  • Posts: 5069
The Jfrouter support is not yet fully automatic, so you need to set the same configuration for Jfrouter and for URLs generation in JoomSEF's configuration.
I think that for you the following settings in JoomSEF should work:
Language integration: include in path
Always use language: Yes
Translate URLs: Yes
Main language: (none)

Best regards,
ARTIO Support Team
ARTIO Support Team
The topic has been locked.
  • Page:
  • 1
User Login Empty