title: Why is Twig sending HTML file from previous response?
body: <p>I'm using Klein for routing and Twig as template engine. I created 2 routes that work as intended. But When I redirect to /test it sends response from previous /[:name] (Just html, not sql) and /test as well, both stacked on each other (first previous /[:name] then /test).</p>
  
  <p>I tried messing with .htaccess file, but with no success. For INFO I'm using xampp for my localhost and I set up virtual host.</p>
  
  <p><strong>Php code (index.php)</strong></p>
  
  <p>
  
  <pre><code>use Application\Database\connect;
  use Application\DisplayData;
  use Twig\Environment;
  use Twig\Loader\FilesystemLoader;
  
  //Require autoload.php
  require_once __DIR__ . '/vendor/autoload.php';
  
  //Twig API
  $loader = new FilesystemLoader(__DIR__.'\views\HTML');
  $twig = new Environment($loader);
  
  //Db connection global variable
  $connect = new DisplayData();
  
  //Klein router code
  $klein = new \Klein\Klein();
  
  //Home root
  $klein-&gt;respond('GET', '/', function () use ($twig, $connect, $klein) {
      echo $twig-&gt;render('index.html', ['name' =&gt; $connect-&gt;getData("SELECT * FROM Zapis")]);
  });
  
  //Zapisnik seperate page
  $klein-&gt;respond('GET', '/[:name]', function ($request) use ($twig, $connect, $klein){
      echo $twig-&gt;render('zapis.html', ['data' =&gt; $connect-&gt;GetSeperateData(
          "SELECT * FROM Zapis Where NaslovZapisa = ? limit 1", 
          $request-&gt;name
      )]);
  
  });
  
  $klein-&gt;respond('GET', '/test', function(){
      return "Hello";
  });
  
  $klein-&gt;dispatch();
  </code></pre>
  
  <p><strong>.Htaccess</strong> </p>
  
  <pre><code>RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME}\.html !-f
  RewriteRule . index.php [L]
  </code></pre>