diff --git a/ecrire/inc/distant.php b/ecrire/inc/distant.php index 0eaba2996a410940485db52bd8b2baa0f22742d1..f305a0beb46de9cd5aaf8fd7439c7371075c8d5e 100644 --- a/ecrire/inc/distant.php +++ b/ecrire/inc/distant.php @@ -598,7 +598,7 @@ function recuperer_url_cache($url, $options = array()) { 'file' => '', 'follow_location' => 10, 'version_http' => _INC_DISTANT_VERSION_HTTP, - 'delai_cache' => _DELAI_RECUPERER_URL_CACHE, + 'delai_cache' => in_array(_VAR_MODE, ['preview', 'recalcul']) ? 0 : _DELAI_RECUPERER_URL_CACHE, ); $options = array_merge($default, $options);