invalidation des caches existants memoization_init_cache_namespace(); } function memoization_init_cache_namespace(){ include_spip('inc/acces'); $namespace = dechex(crc32($_SERVER["DOCUMENT_ROOT"] . $_SERVER["SERVER_SIGNATURE"] . creer_uniqid())); ecrire_meta('cache_namespace', $namespace, 'non'); } function memoization_migrer_config_pages(){ include_spip('inc/config'); spip_log("memoization_migrer_config_pages done", "memoization_migrer_config_pages"); if ($methode = lire_config('memoization/pages')){ ecrire_config('memoization/methode', $methode); effacer_config('memoization/pages'); } } function memoization_vider_tables($nom_meta_base_version){ include_spip('inc/config'); include_spip('inc/meta'); effacer_config("memoization"); effacer_meta($nom_meta_base_version); }