Implement a caching mechanism
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{% extends "template.html.twig" %}
|
||||
|
||||
{% block content %}
|
||||
{% cache 'list_' ~ listType %}
|
||||
<div class="table-responsive">
|
||||
<table class='table table-hover'>
|
||||
<thead>
|
||||
@@ -57,4 +58,5 @@
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
{% endcache %}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user