WP7 - Prevent RestSharp from caching
restsharp, windows-phone-7
Solution
I found solution in Rico Suter comment, thanks! I will mark this as accepted anwser
its a hack but try something like url = originalUrl + "&nocache=" + DateTime.Now.Ticks
Problem
I use RestSharp in my Windows Phone 7.1 project. My problem is RestSharp always cache response data. Example: At the first time I send request, it returns data correctly. After some delete operations, I send that request again, but response seems the same as the first time, nothing's changed. If I stop debugging and press F5 to start again, it works perfectly as expected. I also tried `request.AddParameter("cache-control", "no-cache", ParameterType.HttpHeader);` and got no luck. How can I fix this problem?