A question regarding queries with multilanguage sites

For Joomla! 2.5 Coding related discussions, please use: http://groups.google.com/group/joomla-dev-general
Note: All 1.6, 1.7 and 3.5 releases have reached end of life and should be updated to 3.x.

Moderator: ooffick

Forum rules
Please use the mailing list here: http://groups.google.com/group/joomla-dev-general rather than this forum.
Locked
virgilr
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Jan 19, 2015 7:32 pm

A question regarding queries with multilanguage sites

Post by virgilr » Mon Jan 19, 2015 7:39 pm

Hello to all! Very new here- I'm a developer at an agency and I have to touch on Joomla projects from time to time, albeit it's not my main development framework. I have a question regarding performance issues that seem to be related to a query.

I am working with a component that was previously developed that I've modified to my own needs. The site is running faLang for managing multilanguage content.

When I perform the query using the default language (not the alternative language) the query fires instantly and results are returned rapidly. However, when the query runs from a page in the alternate language, (in this case English, the default language is French) the query takes ~ 10 seconds before the results are returned. I noted this time period when viewing the debug queue that shows the time between joomla processes - I'm pretty sure the delay was between dispatch and route. Doing some searching points to this usually being a query issue.

Now, I simply modified the route definition (the component being used has a helper to define routes) after I created my own view (model, etc are all working properly). Perhaps this is an issue with the router that I just don't understand?

Any clues or ideas would be greatly appreciated!

Locked

Return to “Joomla! 2.5 Coding”