Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-1161

Add Cache Control HTTP header controls for REST APIs

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.10.00
    • 2.10.01
    • None
    • None
    • HTTP REST APIs implemented using CXF

    Description

      Here are some of the options:

      1. use explicit Response return objects for all CXF services, (probably intrusive).
      2. use Servlet Filters to set Cache Control headers, (not ideal since too far separated from CXF service methods).
      3. use CXF interceptors to set Cache Control headers
      4. modify ServletDelegatingValve to include default Cache Control headers, (configured via Spring)
      5. support custom annotations to specify caching parameters on service methods/classes.

      Options 4 and 5 done together seem like best approach at this point.

      Attachments

        Issue Links

          Activity

            People

              wko Woonsan Ko (Inactive)
              r.watler Randy Watler (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: