Does Bixby cache the requests on server?

后端 未结 2 1669
生来不讨喜
生来不讨喜 2021-01-20 18:31

In my application all the utterances from Bixby are redirected to an action which makes an api call. This api call returns the response to Bixby for the user utterance. Rece

2条回答
  •  迷失自我
    2021-01-20 19:14

    Yes, requests are cached on the server. You can disable the cache if you wish.

    For example,

    let options = {
        cacheTime: 0
      };
    
    let response = http.getUrl('https://my-capsule.com/api/search/', options);
    

    See https://bixbydevelopers.com/dev/docs/reference/JavaScriptAPI/http#http-options for more options. No pun intended. :)

提交回复
热议问题