Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Imported from: http://groups.google.com/group/in-portal-bugs/browse_thread/thread/d0163f9491e62a14#

I've recently noticed that during during 

Jira Legacy
serverIn-Portal Issue Tracker
keyINP-745
development we added a code,

...

that displays all enabled languages in system to user in "Language" field

...

dropdown on his profile page.

Problem is that we don't cache it and querying these languages could cost
up to 8 sqls each time user object is created.

Task: user_frontlanguage_field_wastes_8sqls_each_time.patch

Related Tasks

Jira Legacy
serverIn-Portal Issue Tracker
keyINP-1042

Ready for testing.

--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com

user_frontlanguage_field_wastes_8sqls_each_time.patch