I have a working NodeJS API being called from a WPF C# app.
It has been running for 12 months with no issues, using RestSharp from my C# end.
My server went down today (weird spike) and since then about 50% of my calls are responding with cached data from before the crash.
- NODEJS log shows me the calls.
- Some calls show up on the log and the correct response is given
- some calls SAY in C# there is a response but there is NO log of the call occuring in NodeJS. The response is OLD
- I have changed a NON working call to POST (from GET), ran the call, got exception THEN changed back to GET and now it is working again and appearing in nodejs log.
- My ngnix cache is off on the server
Also tried:
- Turning OFF the api completely and running the calls. They are STILL GETTING RESPONSES even though the API is offline.
- Restoring a backup of the project from before I had the server crash, the old file is doing exactly the same thing/
- Tried adding pragma and no-cache headers, this didnt fix anything.
Things I checked:
- My current app is still running fine with all calls working correctly, it is just my vis studio project that is not working (eg. I can't update my app or it will break all terminals).
Does anyone know:
- Does RESTSHARP have some kind of internal CACHE that it would be getting these fake responses from even then the api is shut down??
- Or does Vis Studio have some kind of cache that would do that?