Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-19562

add possibility to disable the current_user fetch

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 2012.6
    • Caching
    • None

    Description

      Hi,

      by default, there is always at least one database fetch - the current user.

      But if the current user is not logged in, you don't need it. Take default settings from the anoynm. user. You only need the info that the current_user is not logged in.

      Best wishes,
      Georg.

      Steps to reproduce
      • put the whole pagelayout into a cache-block
      • make 2 requests, one for caching and one for cached result.

      Attachments

        Activity

          People

            unknown unknown
            emil.webber emil.webber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: