Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-16380

Add cache-control:no-store response header for some REST API

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Done
    • Priority: 4 - Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 6.9.0
    • Component/s: None
    • Labels:
      None

      Description

      Hi,

      We are using a reverse proxy in front of our artifactory instances. We enabled cache on our reverse proxy. However, some public REST apis, whose responses are not immutable, do not return cache-control: no-store header. This causes the responses being cached. Do you guys consider adding the header? Some examples:

       

      /api/repositories

      /api/repositories/repoKey

      /api/storage/repoKey/folder

       

      Note: when I say "public REST apis", I mean the api can be accessed anonymously. Apis require auth should not be cached anyway.

       

      Cheers,

        Attachments

          Activity

            People

            Assignee:
            inbart Inbar Tal (Inactive)
            Reporter:
            atlassianbuildteam Atlassian Build Team
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

                Connection: RTFACT Sync
                RTMID-16380 -
                SYNCHRONIZED
                • Last Sync Date: