Uploaded image for project: 'Nuxeo Web UI'
  1. Nuxeo Web UI
  2. WEBUI-485

Do not cache Web UI JSP resources

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.10
    • Fix Version/s: 2.4.53, 3.0.7
    • Component/s: Web UI
    • Release Notes Summary:
      All JSP Web UI resources files are no longer cached.
    • Backlog priority:
      400
    • Upgrade notes:
      Hide

      All JSP Web UI resources files (such as config.jsp) are no longer cached

      Show
      All JSP Web UI resources files (such as config.jsp) are no longer cached

      Description

      The filter config adds a 86400 sec cache to file like config.jsp

      JSP files are rendered server side with dynamic values, it is not a good idea to set a cache on such resources.

      Moreover, it will mislead the service worker to extensively cache other resources that should be refreshed after hot reload in order to properly reflect changes in the Web UI.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 minutes
                5m

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.