title: Symfony2 Shared Host bad Performance maybe cache?
body: <p>I use the default config of Symfony2 app.php</p>
  
  <pre><code>&gt; &lt;?php
  &gt; 
  &gt; use Symfony\Component\ClassLoader\ApcClassLoader; use
  &gt; Symfony\Component\HttpFoundation\Request;
  &gt; 
  &gt; $loader = require_once __DIR__.'/../app/bootstrap.php.cache';
  &gt; 
  &gt; // Enable APC for autoloading to improve performance. // You should
  &gt; change the ApcClassLoader first argument to a unique prefix // in
  &gt; order to prevent cache key conflicts with other applications // also
  &gt; using APC. /* $apcLoader = new ApcClassLoader(sha1(__FILE__),
  &gt; $loader); $loader-&gt;unregister(); $apcLoader-&gt;register(true);
  &gt; */
  &gt; 
  &gt; require_once __DIR__.'/../app/AppKernel.php'; //require_once
  &gt; __DIR__.'/../app/AppCache.php';
  &gt; 
  &gt; $kernel = new AppKernel('prod', false); $kernel-&gt;loadClassCache();
  &gt; //$kernel = new AppCache($kernel);
  &gt; 
  &gt; // When using the HttpCache, you need to call the method in your front
  &gt; controller instead of relying on the configuration parameter
  &gt; //Request::enableHttpMethodParameterOverride(); $request =
  &gt; Request::createFromGlobals(); $response = $kernel-&gt;handle($request);
  &gt; $response-&gt;send(); $kernel-&gt;terminate($request, $response);`
  </code></pre>
  
  <p>Now to my issue:</p>
  
  <p>I have local apache who render some templates in Symfony 2 project in 200ms-250ms in prod.
  There is no database in the background.
  Now my issue is that if i request same page in webhost i have request time from 1sec to 8sec.</p>
  
  <p>I just have some layout twigs and then the content partials in.</p>
  
  <p>I dont know why i got so high requests times
  here is a reques header example: </p>
  
  <pre><code>General: Request URL:http://####/## 
  Request Method:GET 
  Status Code:200 OK 
  Remote Address:####
  
  Response Headers: view source 
  Cache-Control:no-cache 
  Connection:Keep-Alive 
  Content-Type:text/html; charset=UTF-8 Date:Sat, 18 Jun 2016 14:41:39 GMT 
  Keep-Alive:timeout=2, max=98 
  Server:Apache 
  Transfer-Encoding:chunked X-Powered-By:PHP/7.0.6
  </code></pre>
  
  <p>Anyone have a idea to get some information to debug or maybe someone know the reason of the bad performance on webserver?</p>