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

In SPA Configuration, a zero value in cache expiration time disables cache

    Details

      Description

      In SPA Configuration, a zero value in cache expiration time disables cache when it should make SPA cache never expire.

      To reproduce:

      1. Control Pane -> Configuration -> System Settings -> Frontend SPA Infrastructure
      2. Set cache expiration time to zero and save
      3. Refresh the page
      4. Open the Network panel in Chrome Dev tools (or firebug, F12,, etc..)
      5. Navigate to a few different pages. It's not important which ones.
      6. Navigate back to some of the same pages you were on.

      Expected result:
      When navigating to a page that you've been to before, a new network request should not be made.

      Actual result:
      When navigating to a page that you've been to before, a new network request is made. You can see this in the Network panel of Chrome Dev tools.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.0.0 DXP FP10
                7.0.0 DXP SP2
                7.0.3 CE GA4
                7.1.X
                Master