source: spip-zone/_plugins_/fastcache/fastcache_fonctions.php @ 97235

Last change on this file since 97235 was 17430, checked in by fil@…, 13 years ago

fastcache, un plugin qui accelere pas mal

File size: 278 bytes
Line 
1<?php
2
3# balise #FASTCACHE pour noter les pages cachables
4if (!defined("_ECRIRE_INC_VERSION")) return;
5
6function balise_FASTCACHE_dist($p) {
7        $p->code = "'<'.'?php header(\"' . "
8                . "'X-Fast-Cache: yes'"
9                . " . '\"); ?'.'>'";
10        $p->interdire_scripts = false;
11        return $p;
12}
13
14?>
Note: See TracBrowser for help on using the repository browser.