[removed] Disable caching of response from server to HTTP GET URL request

后端 未结 3 1936
一整个雨季
一整个雨季 2020-12-06 11:31

I want to turn off the cache used when a URL call to a server is made from VBScript running within an application on a Windows machine. What function/method/object do I use

3条回答
  •  半阙折子戏
    2020-12-06 11:53

    You could use WinHTTP, which does not cache HTTP responses. You should still add the cache control directive (Cache-control: no-cache) using the SetRequestHeader method, because it instructs intermediate proxies and servers not to return a previously cached response.

提交回复
热议问题