Uploaded image for project: 'Nuxeo Enhanced Viewer'
  1. Nuxeo Enhanced Viewer
  2. NEV-478

Rework the Previewer Cache headers

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Next
    • Component/s: ARender

      Description

      Currently the previewer sets these headers on static resources:

      • on image files:
        Cache-Control: public, max-age=2592000
        
      • on CSS files:
        Cache-Control: public, max-age=2592000
        
      • on JS files:
        Cache-Control: private, max-age=86400
        

        or

        Cache-Control: private, max-age=2592000
        

      The private attribute is problematic for proxy and the caching of the static resources.

      The max-age attribute is problematic when we upgrade version.

      One solution could be to use the ETag header and leverage it for the cache control.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kleturc Kevin Leturc
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: