{% extends "2022/base.html" %}
+{% load cache %}
 {% load static %}
 {% load l10n %}
 
        );
    }
 
+   {% cache 60 references-map %}
    {% localize off %}
    {% for e in entities %}
    L.marker(
    ).on('click', showMarker).addTo(markers);
    {% endfor %}
    {% endlocalize %}
+   {% endcache %}
 
    map.addLayer(markers);
 
 
 
 <div class="l-popup-books">
 {% for ref in entity.reference_set.all %}
-  <!-- a href='/katalog/lektura/{{ ref.book.slug }}.html#{{ ref.first_section }}' target="_blank"-->
   <div class="c-search-result-fragment">
     <div class="l-popup-book-header">
       <div>
 
     })
 
 
-
-@never_cache
 def popup(request, pk):
     e = get_object_or_404(models.Entity, pk=pk)
     return render(request, 'references/popup.html', {
 
        gap: 5px;
        max-height: 350px;
        overflow-y: scroll;
+
+       margin-left: -10px;
+       margin-right: -10px;
+       padding-left: 10px;
+       padding-right: 10px;
    }
    .l-popup-books img {
        display: block;