XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 1.1.6.Final, 1.1.x
    • None
    • Policy
    • None

      A nice feature for the API Management solution to have is the ability to cache the results from a back-end service call. When enabled, this policy should cache a response from the back-end service so that future requests return the cached version rather than hit the back-end service again.

      The policy should support multiple options for how to cache the response (e.g. based on ETag, cache response headers, etc). We can start simply, however, by simply allowing the user to specify a time-to-live when configuring the policy. We can expand the capabilities from there.

      The policy impl will need to figure out a good way to store the cached data. Perhaps the ISharedStateComponent can be expanded, but I think we probably need a new component e.g. IDataStoreComponent or something.

      Note: In order to cache the response data, the policy impl will need to implement IDataPolicy.

      Of course the response data and response headers will need to be cached so that it can be replayed appropriately.

              ewittman@redhat.com Eric Wittmann
              ewittman@redhat.com Eric Wittmann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: