Uploaded image for project: 'REST Client'
  1. REST Client
  2. MGNLRESTCL-45

Cache a REST response

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Neutral Neutral
    • 2.0
    • None
    • None
    • None
    • Yes
    • Yes
    • Declarative REST 6, Declarative REST 7, Declarative REST 8, Declarative REST 9
    • 8

      As a developer, I can configure a caching strategy on a REST connection, so that my integration is performant and cost-effective.

      A developer does not want to make too many requests to a remote system, for example if I am hitting a CRM to get information about the current visitor - I dont want to make the REST request everytime the visitor visits a new page.

      Also API's can be pay-per-request, or can throttle requests, so making fewer requests can also save money.

      Acceptance Criteria:

      • Ability to setup a timed cache, and ability to set how often it is cleared.
      • Ability to programmatically clear all of the REST connection caches - may or may not handle individual REST caches per client.
      • Ability to clear the cache via REST, via a command.
      • Caching can be easily configured - probably directly on the REST connection configuration.
      • Requests with same URI but different headers do not overlap (e.g. language headers)

      Scenarios:

      https://wiki.magnolia-cms.com/display/TEASYINT/EasyRest+Cache+Thinking

        Acceptance criteria

              thien.quach Quach Hao Thien
              czimmermann Christopher Zimmermann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 19d 5h
                    19d 5h