Avant d'avoir résolu le problème de performance, on passe le cache à 6000 secondes pour les visiteurs anonymes
This commit is contained in:
		@@ -27,7 +27,7 @@
 | 
			
		||||
 | 
			
		||||
 {% block content %}
 | 
			
		||||
 
 | 
			
		||||
 {% with cache_timeout=user.is_authenticated|yesno:"30,600" %}
 | 
			
		||||
 {% with cache_timeout=user.is_authenticated|yesno:"30,6000" %}
 | 
			
		||||
 {% cache cache_timeout month user.is_authenticated calendar.firstdate category filter.get_url %}
 | 
			
		||||
 | 
			
		||||
 {% include "agenda_culturel/filter-inc.html" with filter=filter noarticle=0 %}
 | 
			
		||||
 
 | 
			
		||||
@@ -40,7 +40,7 @@
 | 
			
		||||
    {% endblock %}{% endblock %}</h1></header>
 | 
			
		||||
    {% endcache %}
 | 
			
		||||
 
 | 
			
		||||
     {% with cache_timeout=user.is_authenticated|yesno:"30,600" %}
 | 
			
		||||
     {% with cache_timeout=user.is_authenticated|yesno:"30,6000" %}
 | 
			
		||||
     {% cache cache_timeout upcoming user.is_authenticated calendar.firstdate filter.get_url category calendar.nb_days %}
 | 
			
		||||
     {% include "agenda_culturel/filter-inc.html" with filter=filter noarticle=1 %}
 | 
			
		||||
    
 | 
			
		||||
 
 | 
			
		||||
@@ -26,7 +26,7 @@
 | 
			
		||||
 {% block content %}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 {% with cache_timeout=user.is_authenticated|yesno:"30,600" %}
 | 
			
		||||
 {% with cache_timeout=user.is_authenticated|yesno:"30,6000" %}
 | 
			
		||||
 {% cache cache_timeout week user.is_authenticated calendar.firstdate category filter.get_url %}
 | 
			
		||||
 {% include "agenda_culturel/filter-inc.html" with filter=filter noarticle=0 category=category %}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user