How to clear the cache of HttpWebRequest

前端 未结 5 2207
说谎
说谎 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:38

    You can change the cache policy: use an http reverse proxy, and remove/change the relevant http headers. It's a hack, but it would work, and quite easily. I'd suggest you use Apache httpd server for this task (with mod_proxy).

提交回复
热议问题