Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-19031

Handle resources cache when updating Nuxeo

    XMLWordPrintable

    Details

      Description

      Changes to scripts that are cached (thanks to the Nuxeo request controller for instance) are not taken into account if user does not clear the browser cache.

      This problem can be reproduced when upgrading from 7.10-HF03 to 7.10-HF04 for instance, due to changed for NXP-18443.

      Links to resources should hold some kind of timestamp to handle these use cases (see also tips from http://balusc.omnifaces.org/2009/09/webapplication-performance-tips-and.html).

      Since 7.4, the way that resources are handled has changed (see NXP-16416), there are two main entry points for these:

      • the wro servlet (serving resources for bundles or pages)
      • the JSF resource renderers (that are already overridden in NXScriptRenderer and NXStylesheetRenderer, in module nuxeo-web-resources-jsf)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h