diff options
author | Urban Müller | 2015-11-16 14:00:23 +0100 |
---|---|---|
committer | Urban Müller | 2015-11-16 14:00:23 +0100 |
commit | 3b4aeabd9186666e025d3233f06f7458356bfc37 (patch) | |
tree | b67941b93eda2490800efafd1f5410bdd754bf16 /itjs.class | |
parent | 4179279e4bb7e654ba44924821a2fdd62e1e1846 (diff) | |
download | itools-3b4aeabd9186666e025d3233f06f7458356bfc37.tar.gz itools-3b4aeabd9186666e025d3233f06f7458356bfc37.tar.bz2 itools-3b4aeabd9186666e025d3233f06f7458356bfc37.zip |
make c= optional for far future expire
Diffstat (limited to 'itjs.class')
-rw-r--r-- | itjs.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -218,7 +218,7 @@ function crcurl($url, $p = array()) } # $p['nocrc'] means no $_REQUEST['c'] is needed for far future expire -static function far_future_headers($p = []) +static function far_future_headers($p = array()) { $crc = $_REQUEST['c'] ?: $_REQUEST['s']; if ($crc != "-" && !$_SERVER['HTTP_CACHE_CONTROL'] && $_SERVER['HTTP_IF_NONE_MATCH'] && !it::is_devel() && !$_REQUEST['retry']) |