Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-49766

Users should be able to disable checking of legacy image gallery requests to avoid performance degradation

    Details

      Description

      When Liferay Portal (6.1 and newer versions) receives a request, say, to get a web content article small image, before it delivers the appropiate image, WebServerServlet checks whether the request is trying to get an image from the legacy Image Gallery portlet. This verification leads to a call to a Document Library method

      DLFileEntryFinderImpl.fetchByAnyImageId(long)

      that uses a custom sql query that is not cacheable. When a user has not upgraded from a Liferay Portal prior to 6.1, the call is useless and, actually, can impact database performance. What is proposed is that such users can disable this checking to improve portal performance mainly in production environment where there may be several requests triggering such database queries.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hong.zhao Hong Zhao (Inactive)
              Reporter:
              cleydyr.albuquerque Cleydyr Albuquerque
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years ago

                  Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE
                  7.0.0 M3