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

HTTP response code 200 is returned even if "Last-Modified <= If-Modified-Since".

    Details

      Description

      Description
      HTTP response code 200 is returned even if "Last-Modified <= If-Modified-Since".

      Steps to reproduce

      1. Setup master (78f4982e183d3ea9992c53f7979a582639885507)
      2. Add "com.liferay.portal.servlet.filters.etag.ETagFilter=false" to portal-ext.properties.
      3. Start Liferay
      4. Navigate to "web/guest/home" with Firefox.
      5. Open "Inspect Element" function of the browser and navigate to "Network" tab
      6. Reload the browser

      Actual result
      HTTP response code 200 is returned even though "Last-Modified <= If-Modified-Since"".
      (Please refer attached "Result.png")

      Expected result
      If "Last-Modified <= If-Modified-Since", HTTP response code should be "304".

        Attachments

          Activity

            People

            • Assignee:
              raven.song Raven Song
              Reporter:
              hai.yu Hai Yu
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 4 weeks ago

                Packages

                Version Package
                7.0.0 DXP FP55
                7.0.0 DXP SP9
                7.0.X
                7.1.10 DXP FP1
                7.1.1 CE GA2
                7.1.10.1 SP1
                7.1.X
                Master