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

js_loader_modules, js_bundle_config and available_languages.jsp are not cacheable

    Details

      Description

      Reproduction steps:

      1) Start the portal
      2) Open Incognito and open the browser's dev console and move to "Network" tab, ensure the "Disable cache" is not selected, hit http://localhost:8080and observe the network requests coming in
      3) Once the page has finished loading, reload it again, so all cacheable resources will be loaded from cache. Observe the requests:

      Expected: Requests for js_loader_modules, js_bundle_config and available_languages.jsp to be loaded from cache
      Actual behavior: Those resources will be fetched again
      Important Note: https://issues.liferay.com/browse/LPS-93353?focusedCommentId=1765090&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1765090

       Reproduced on master

      Observing the headers and comparing them to other requests where t= parameter is present and caching does happen, the ones for these 3 files are missing some parts, for example, eTag and Cache-Control.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  22 weeks, 4 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP81
                  7.0.X
                  7.1.3 CE GA4
                  7.1.10 DXP FP11
                  7.1.X
                  Master