Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-18940

Browser caching content when browsing files.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Parked
    • Affects Version/s: 3.15.1
    • Fix Version/s: None
    • Component/s: Browse Storage, UI
    • Labels:

      Description

      The Nexus UI is caching content which is can be confusing for the end user, when expecting changes.

      I reproduced this issue with the following steps.

      1) Using the Nexus UI Browse Tree, navigate to a maven component metadata and click link to view the  maven-metadata.xml

      2) Delete one of the component version.

      3) Navigate to a maven component metadata and click link to view the  maven-metadata.xml. It has not changed.

      4) Use curl to download the metadata and can see that it has changed.

       

      We should set the following headers in the response to prevent this (see NEXUS-5155)

      Cache-Control: no-cache, no-store, max-age=0, must-revalidate
      Pragma: no-cache

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            msurani Mahendra Surani
            Last Updated By:
            Joe Tom
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title