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

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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: