How to clear the cache of HttpWebRequest

前端 未结 5 2204
说谎
说谎 2020-11-29 09:05

I am developing against a proprietary library and I\'m experiencing some issues with the cache of the HttpWebRequest. The library is using code equivalent to th

5条回答
  •  情话喂你
    2020-11-29 09:37

    I haven't tried, but a solution could be to add an arbitrary query string to the url being requested.

    This querystring would change everytime, maybe using DateTime.Now meaning the url would be different each time. Each request would then get requested supposedly anew.

提交回复
热议问题