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

CSS response is sometimes missing when If-Modified-Since header is used

    Details

      Description

      This issue applies for both CSS and JS resources.

      Steps to Reproduce (Using Tomcat)

      1. Startup Liferay
      2. Delete cache files in [TOMCAT_HOME]/work/Catalina/localhost/ROOT/aggregate/
      3. Run the following curl command in terminal:
        curl -v "http://localhost:8080/o/dynamic-data-mapping-web/css/main.css?browserId=other&themeId=classic_WAR_classictheme&minifierType=css" -H'If-Modified-Since: Tue, 1 Jan 2222 00:00:00 GMT'
        
      4. Observe results from the curl command

      Expected Results
      Curl result contains a commented timestamp + css content

      Actual Results
      Curl result contains only a commented timestamp

        Attachments

          Activity

            People

            • Assignee:
              summer.zhang Summer Zhang
              Reporter:
              eric.yan Eric Yan
              Participants of an Issue:
              Recent user:
              Jason Pince
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 5 weeks, 1 day ago

                Packages

                Version Package
                7.1.10 DXP FP13
                7.1.X
                7.2.10 DXP FP1
                7.2.X
                7.2.1 CE GA2
                Master