<table role="table">
<thead>
<tr>
<th>Q</th>
<th>A</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bug report?</td>
<td>yes</td>
</tr>
<tr>
<td>Feature request?</td>
<td>no</td>
</tr>
<tr>
<td>BC Break report?</td>
<td>-</td>
</tr>
<tr>
<td>RFC?</td>
<td>-</td>
</tr>
<tr>
<td>Symfony version</td>
<td>3.4.x</td>
</tr>
</tbody>
</table>
<p dir="auto">First of all, sorry if it's not a bug, but it's worth creating an issue;</p>
<p dir="auto">I've noticed that the profiler never shows the information about my pools in the right Request.</p>
<p dir="auto"><strong>Facts</strong>:</p>
<ul dir="auto">
<li>The cache call are made on the main request.</li>
<li>Inside app, the menu is rendered via a <code class="notranslate">{{ render(controller(...)) }}</code> call so it triggers 1 subrequest. <strong>No cache calls were made on that subrequest</strong>.</li>
</ul>
<p dir="auto">After spending some time on understanding what was happening, I discovered that the data is showing on the profiler of the <strong>SUB REQUEST instead of the request itself</strong>.</p>
<p dir="auto"><strong>to reproduce:</strong> <a href="https://github.com/tristanbes/symfony-cache-profiler-bug">https://github.com/tristanbes/symfony-cache-profiler-bug</a> (ping <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/xabbuh/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/xabbuh">@xabbuh</a>)</p>
<h2 dir="auto">cache pannel, where it should appear since the call were made on this request</h2>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/346010/34614622-607ccbf8-f232-11e7-97e9-3778ce0e4ac6.png"><img src="https://user-images.githubusercontent.com/346010/34614622-607ccbf8-f232-11e7-97e9-3778ce0e4ac6.png" alt="symfony_profiler" style="max-width: 100%;"></a></p>
<h2 dir="auto">cache pannel of the subrequest, where <strong>no cache calls were made</strong></h2>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/346010/34614583-3d7734c2-f232-11e7-9181-7b139a9ce412.png"><img src="https://user-images.githubusercontent.com/346010/34614583-3d7734c2-f232-11e7-9181-7b139a9ce412.png" alt="symfony_profiler" style="max-width: 100%;"></a></p>
<p dir="auto">Thanks</p>
<table role="table">
<thead>
<tr>
<th>Q</th>
<th>A</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bug report?</td>
<td>yes</td>
</tr>
<tr>
<td>Feature request?</td>
<td>no</td>
</tr>
<tr>
<td>BC Break report?</td>
<td>no</td>
</tr>
<tr>
<td>RFC?</td>
<td>no</td>
</tr>
<tr>
<td>Symfony version</td>
<td>3.3.6</td>
</tr>
</tbody>
</table>
<p dir="auto">Empty symfony-standard project contains 5 cache calls in profile, but if I add simple render controller - the cache panel becomes empty (No cache calls were made.)</p>
<p dir="auto"><a href="https://github.com/BoShurik/symfony-standard/commit/2b2a8c4935c1f751e9745ed7f9f24990e1826596">https://github.com/BoShurik/symfony-standard/commit/2b2a8c4935c1f751e9745ed7f9f24990e1826596</a></p>