diff options
-rw-r--r-- | lib/exe/css.php | 2 | ||||
-rw-r--r-- | lib/exe/js.php | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/exe/css.php b/lib/exe/css.php index 5e572410f..81f7f3489 100644 --- a/lib/exe/css.php +++ b/lib/exe/css.php @@ -116,6 +116,8 @@ function css_out(){ * @author Andreas Gohr <andi@splitbrain.org> */ function css_cacheok($cache,$files){ + if($_REQUEST['purge']) return false; //support purge request + $ctime = @filemtime($cache); if(!$ctime) return false; //There is no cache diff --git a/lib/exe/js.php b/lib/exe/js.php index 0bca72984..3ed69b476 100644 --- a/lib/exe/js.php +++ b/lib/exe/js.php @@ -165,6 +165,8 @@ function js_out(){ * @author Andreas Gohr <andi@splitbrain.org> */ function js_cacheok($cache,$files){ + if($_REQUEST['purge']) return false; //support purge request + $ctime = @filemtime($cache); if(!$ctime) return false; //There is no cache |