Ignore:
Timestamp:
Apr 26, 2007, 1:33:56 PM (14 years ago)
Author:
cedric@…
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_stable_/desactiver_cache/desactiver_cache.php

    r5548 r11662  
    11<?php
    2 
     2#eviter le recalcul de jquery.js a chaque hit ...
     3$exceptions = array('jquery.js','forms_styles.css');
    34//var_dump($_SERVER['REQUEST_METHOD']);
    4 $_SERVER['REQUEST_METHOD']='POST';
     5$fond = isset($GLOBALS['fond'])?$GLOBALS['fond']:_request('page');
     6if (!in_array($fond,$exceptions))
     7        $_SERVER['REQUEST_METHOD']='POST';
    58
    69?>
Note: See TracChangeset for help on using the changeset viewer.