B
B
Boris the Animal2017-09-21 10:26:20
css
Boris the Animal, 2017-09-21 10:26:20

What is affected by the HttpRequestCachePolicy assigned to WebClient for example?

People, can someone explain this moment in human language? Now, if I use WebClient to send requests to my own service, does setting this parameter somehow affect the operation of the software at all? I read the MSDN help, but the whole thing is described there somehow incomprehensibly. Apparently, you need to know something else to make it clear.
Specifically, does it make sense to set HttpRequestCacheLevel.NoCacheNoStore?

var client = new WebClient();
client.CachePolicy = new HttpRequestCachePolicy(HttpRequestCacheLevel.NoCacheNoStore);

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Anton Usachov, 2019-06-06
@nen0y

Well, you can still play with fonts .. =-)

A
Andrew, 2019-06-06
@deepblack

input placeholder

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question