3 <a href="{{ url("webprofiler.dashboard", {profile: token}, {fragment: 'cache'}) }}" title="{{ 'Cache'|t }}">
4 <img width="20" height="28" alt="{{ 'Cache'|t }}"
5 src="data:image/png;base64,{{ collector.icon }}"/>
6 <span class="sf-toolbar-info-piece-additional sf-toolbar-status">{{ collector.getCacheHitsCount }}
7 / {{ collector.getCacheMissesCount }}</span>
12 {% for bin, cids in collector.getCacheHits %}
13 <div class="sf-toolbar-info-piece">
15 <span>{{ cids }}</span>
20 <div class="sf-toolbar-block">
21 <div class="sf-toolbar-icon">{{ icon|default('') }}</div>
22 <div class="sf-toolbar-info">{{ text|default('') }}</div>
27 <script id="cache" type="text/template">
28 <h2 class="panel__title">{{ 'Cache'|t }}</h2>
29 <% if( data.cache.length != 0){ %>
30 <% _.each( data.cache, function( item, key ){ %>
31 <div class="panel__container">
33 <ul class="list--inline">
34 <li><b>Bin</b> <%= key %></li>
37 <table class="table--trio">
41 <th>{{ 'hit'|t }}</th>
42 <th>{{ 'miss'|t }}</th>
46 <% _.each( item, function( value, key ){ %>
49 <td><%= value['bin_cids_hit'] %></td>
50 <td><%= value['bin_cids_miss'] %></td>
58 <div class="panel__container">
59 <p>{{ 'No results'|t }}</p>