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

Notifications portlet makes pages cache useless

    Details

      Description

      Steps to reproduce:

      1. In Firefox, startup 6.2.x version and open firebug, Network tab.
      2. Open default Liferay page. Be sure to NOT be logged in.
      3. Check the http status code for /home HTTP GET request. It should be 200.
      4. Refresh same page with F5. Now you should see that request returns HTTP 304 status (not modified).
      5. Now deploy notifications-portlet.
      6. Refresh page. As we deployed portlet we should see HTTP status 200 again.
      7. Refresh page again. Check now the http status code for /home HTTP GET request.

      Expected behavior: as page is cached and we already made a request, it should return HTTP 304 status.
      Actual behavior: it returns HTTP 200, making it NOT cached in browser and hence causing network latency as it should get resources again.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              juangon Juan G
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Days since last comment:
                3 years, 36 weeks, 3 days ago

                  Packages

                  Version Package