Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1042

Cache SQL query results, that selects languages for "User Preferred Language" dropdown

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.2.0-B1
    • Fix Version/s: 5.2.0-RC1
    • Component/s: Database
    • Labels:
      None

      Description

      I've recently noticed that during #000929 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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: