I'm using a simple Ajax get method on local machine that providing to empty function in my server-side laravel code, and observe from browser network that response is returned randomly in from 250-500ms.
Can't get any similar problem (if it's a problem at all), isn't it a lot response for nothing?
And if it normal, why response varies between two different values twice as much. Also try it on different hostings and result sometimes worse.
$.get('/index/categories', { id: '1' }, function(data) {
});
(same with ajax)
Laravel:
public function getCategoriesJson()
{
}