Friday, March 31, 2017

different time in API response at first call and then call again?

I created an API in Laravel. When I first call the API in Postman it shows 504ms, then I call it again and it shows 235ms in Postman. If I call it once again it returns about 220ms to 280ms max?

If I stop making calls to the api for few minutes (about 10-15 min) when I call it again it takes around 500ms for the first time and then it shows near 200.

Is it cached data or persistence call or Zend opCache?

Can anybody help me find out why or what is this?



via Abhishek Badole

Advertisement