API Connect

API Connect

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Cache issue

    Posted Wed October 16, 2024 08:43 AM

    Hi team

    I have an api of  two invoke  in first invoke i apply cache as show on screenshot

    but every time request goes to backend and don't show document status is empty.
    Please guide me how to configure the cache.?
    thankyou



    ------------------------------
    Shah Wajahat
    ------------------------------


  • 2.  RE: Cache issue

    Posted Fri October 18, 2024 05:51 PM

    Hi Shah,
    Your screenshots didn't make it to your post.  It should be a simple configuration of setting the cache type to either TTL or Protocol, but there are some caveats.  If your request has an Authorization header, the response will not be cached.  If you're using protocol caching, then the cache will be based upon any cache-control request headers and response headers that are provided by your target server.  What type of HTTP request are you trying to cache?
    Best Regards,
    Steve



    ------------------------------
    Steve Linn
    Senior Consulting I/T Specialist
    IBM
    ------------------------------