diff --git a/ecrire/public/cacher.php b/ecrire/public/cacher.php
index 5db5212ba745b81b6637b03ca2c7fad7afd28785..e2955c09e4102656f27839518fb3efc7642c13d4 100644
--- a/ecrire/public/cacher.php
+++ b/ecrire/public/cacher.php
@@ -271,7 +271,7 @@ function public_cacher_dist($contexte, &$use_cache, &$chemin_cache, &$page, &$la
 
 	// cas ignorant le cache car complement dynamique
 	if (($_SERVER['REQUEST_METHOD'] == 'POST')
-		OR (isset($contexte['fond']) AND (substr($contexte['fond'],0,7)=='modeles'))
+		OR substr($contexte['fond'],0,8)=='modeles/')
 	) {
 		$use_cache = -1;
 		$lastmodified = 0;