title: Symfony and very slow ajax requests
body: <p>I'm trying to do some ajax requests using symfony and I noticed that there is a huge difference in response time when I send a GET request to:</p>
  
  <p>a) The most simple symfony controller method which just returns: Reponse("Hello")
  <a href="https://i.stack.imgur.com/UY6HB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UY6HB.png" alt="AJAX with symfony"></a>
  b) PHP file which pretty much does the same thing (echo "Hello")
  <a href="https://i.stack.imgur.com/53La5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/53La5.png" alt="AJAX without symfony"></a>
  My app is really dependend on those response times and I want them to be as short as possible, so I just can't tolerate such a long waiting periods in case of symfony. Is there any way I can make it work faster? And yes, I was testing it in the PROD enviroment.</p>