Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-2019

Extend @Cache annotation with: boolean noCache() default false;

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 4.0.0.Beta6
    • None
    • jaxrs
    • None
    • Low

    Description

      Currently it's not possible to get the following response header:
      Cache-Control: no-store, no-cache, must-revalidate, proxy-revalidate, s-maxage=0, max-age=0, private

      because @Cache and @NoCache annotations are mutually exclusive.
      So adding noCache() to Cache will solve this problem.

      Attachments

        Activity

          People

            pjurak Petr Jurak (Inactive)
            slavap_jira Slava Pankov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: