Hi,

Since PR6, my zones where I want to display content using ESI tags display 
nothing. This was OK in PR5.


------------------ main layout :

{% render 'MyBundle:Match:cadre' with {}, { 'standalone': true} %}

------------------ controller :

$response = $this->container->get('response');
$response->setSharedMaxAge(60*60);
return $this->render('MyBundle:Match:cadre.twig.html', array(
), $response);

------------------  web/app.php :

use Symfony\Component\HttpFoundation\Request;

require_once __DIR__.'/../app/bootstrap.php';
require_once __DIR__.'/../app/AppCache.php';

$kernel = new AppCache(new AppKernel('dev', true));
$kernel->handle(Request::createFromGlobals())->send();

error_log($kernel->getLog());

------------------ AppCache.php :

protected function getOptions()
    {
        return array(
            'debug'                  => true,
            'default_ttl'            => 0,
            'private_headers'        => array('Authorization', 'Cookie'),
            'allow_reload'           => false,
            'allow_revalidate'       => false,
            'stale_while_revalidate' => 2,
            'stale_if_error'         => 60,
        );
    }


In the Firebug window, I see the header "X-Symfony-Cache", but it contains only 
"GET /<my url>: miss", on all pages.

So, whats is wrong here ?
The same parameters worked fine in PR5...


-- 
Christophe



-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to