Cache Scope - Mule 4

Поділитися
Вставка
  • Опубліковано 16 гру 2024

КОМЕНТАРІ • 6

  • @sivad3294
    @sivad3294 3 роки тому +1

    Great explanation Sir.
    I'm following you the day you started mule...
    Keep going and post all topics.
    Please share dataweave and batch processing... Videos for me.

  • @harshitagupta354
    @harshitagupta354 6 місяців тому

    How to delete files from Local cache

  • @kishoret6949
    @kishoret6949 Рік тому

    Hi Vijay, what if we have more querying parameters like a scenario where we are calling external Api that has 4 query Parameters ,how can we add those in customised caching strategy in key expression??
    Thanks in advance

  • @anujchaurasia1338
    @anujchaurasia1338 2 роки тому +1

    Can you give me a real life testcase of cache with mule ?
    Where we will use cache ?

    • @IntegrationWorld
      @IntegrationWorld  2 роки тому +2

      Hi Anuj,
      Please refer this to understand oauth token.
      Let's say you get a request and you respond (for example: by fetching the information from another system) and you are going to respond the same way each time you get the same request. Then why to check with the internal system always or depend on that (given that the response will not change for next few hours/ few days). This is one instance where you use cache so you can avoid unnecessary or duplicate requests to the backend/internal system.
      One more example:
      Please refer this.
      auth0.com/intro-to-iam/what-is-oauth-2/
      When we fetch oauth 2.0 token, it will have some life time and for that life time we don't need to get it again from the oauth 2.0 provider then we will save it in cache. Few connectors/operations in mulesoft will have this (cache) feature in built but if you want to cache manually you can use this scope.
      Thanks,
      Vijay Vaka