diff --git a/ecrire/exec/fond.php b/ecrire/exec/fond.php index ff726d8e2e8ec0743ba1d432afcd25d79f261e88..aed88761aab079aa8b59cb07959248e675c0e94f 100644 --- a/ecrire/exec/fond.php +++ b/ecrire/exec/fond.php @@ -14,7 +14,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; $fond = _request('exec'); - +$GLOBALS['delais'] = 0;// pas de cache ! // Securite if (strstr($fond, '/')) { if (!include_spip('inc/autoriser') diff --git a/prive/squelettes/structure.html b/prive/squelettes/structure.html index 635b796c32e76f95b852a9885b975a7eca049be6..e378a178718c76a6fe441228f58a2687aab506ae 100644 --- a/prive/squelettes/structure.html +++ b/prive/squelettes/structure.html @@ -1,3 +1,5 @@ +#HTTP_HEADER{Cache-Control: no-cache,must-revalidate} +#HTTP_HEADER{Pragma: no-cache} #EVAL{_DOCTYPE_ECRIRE} [(#REM) http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ ]<!--[if lt IE 7 ]> <html class="[(#LANG_DIR)][ (#LANG)] no-js ie ie6 lte9 lte8 lte7" xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG" lang="#LANG" dir="#LANG_DIR"> <![endif]-->