In new 'dev' branch - setCacheValidity method has changed. It takes only 2 parameters: $varnishTTL, $browserTTL . To avoid marging problems, I would change it to just $response->setCacheValidity(  self::CLIENT_CACHE_VALIDITY );