source: spip-zone/_plugins_/desactiver_cache/desactiver_cache.php @ 107918

Last change on this file since 107918 was 11662, checked in by cedric@…, 13 years ago

"eviter le recalcul de jquery.js et forms_styles.css a chaque hit ..."

File size: 289 bytes
Line 
1<?php
2#eviter le recalcul de jquery.js a chaque hit ...
3$exceptions = array('jquery.js','forms_styles.css');
4//var_dump($_SERVER['REQUEST_METHOD']);
5$fond = isset($GLOBALS['fond'])?$GLOBALS['fond']:_request('page');
6if (!in_array($fond,$exceptions))
7        $_SERVER['REQUEST_METHOD']='POST';
8
9?>
Note: See TracBrowser for help on using the repository browser.