Uploaded image for project: 'CRISP'
  1. CRISP
  2. CRISP-67

Add ExchangeHint#noCache boolean property to let caller cache controllability

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.1
    • Similar issues:

      Description

      At the moment, when you want to avoid resource caching from a resource request, you should always append some meaningless query string or something similar. That's inconvenient.

      In StarterStore implementation, sometimes we need an option to retrieve data directly from the backend without any caching-retrieve the current customer data on the fly before updating something from the bakend for example-while all the other retrieval should be cached by default for some period, using the same resource broker.

      An easy way to do is, IMHO, to add ExchangeHint#setNoCache(boolean) and ExchangeHint#isNoCache(): boolean.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                wko Woonsan Ko
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: