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

Varnish returns MISS for logged in users

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: High High
    • None
    • 2.3.1
    • Platform > HTTPCache
    • None

    Description

      Looks like there has been a regression at some point, as logged in users are no longer cached.

      I am using docker to run and test this on ezplatform-demo

      In a terminal I show nginx log:

      docker logs --follow ezplatformdemo_web_1_1ebec1b343e1
      

      Then in one browser tab access http://localhost:8081/places/amsterdam-netherlands

      Access that page multiple time and you'll see that `GET /places/amsterdam-netherlands` only occurs once.

      Then, in a second browser tab log in on http://localhost:8081/admin/login.
      (Make sure you use the same hostname/port number for admin tab, so that cookies are shared for both frontend and backend)

      Now retry to fetch the Amsterdam page in the first tab. You'll notice in the nginx log that the page is no longer cached

      Attachments

        Activity

          People

            Unassigned Unassigned
            vidar.langseid@ibexa.co Vidar Langseid
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: