diff --git a/lib/exe/css.php b/lib/exe/css.php index 5ff0b0ff33ed654c5160651113b4a53997abe5c0..a09d928b316e87b69c1908d810ccd56f1231d77a 100644 --- a/lib/exe/css.php +++ b/lib/exe/css.php @@ -98,7 +98,7 @@ function css_out(){ } // The generated script depends on some dynamic options - $cache = new cache('styles'.$_SERVER['HTTP_HOST'].$_SERVER['SERVER_PORT'].DOKU_BASE.$tpl.$type,'.css'); + $cache = new cache('styles'.$_SERVER['HTTP_HOST'].$_SERVER['SERVER_PORT'].$INPUT->bool('preview').DOKU_BASE.$tpl.$type,'.css'); $cache->_event = 'CSS_CACHE_USE'; // check cache age & handle conditional request