req['app']; $non_cached_apps = ['blog']; if (ENVIRONMENT == 'production' && !in_array($current_app, $non_cached_apps)) { $cache_seconds = 300; if ($current_app == 'bucket') { $cache_seconds = 3600; } header("Cache-Control: public, max-age=$cache_seconds"); header("Expires: " . gmdate('D, d M Y H:i:s', time() + $cache_seconds) . " UTC"); header("Pragma: cache"); } ?> <?=$title?> "> "> "> "> "> "> " as="font" type="font/woff2" crossorigin> " as="font" type="font/woff2" crossorigin> " as="font" type="font/woff2" crossorigin> req['app'] != 'bucket') { echo embed_css_ext('css/main.css'); } /* IE 4-7 Styles */ echo ie($this->embed_css('css/ie/ie.css')); /* IE 4 Styles */ echo ie_ua($this->embed_css('css/ie/ie4.css'), 4); /* IE 6-7 Styles */ echo ''; /* CSS Files */ foreach($css as $file) echo $this->embed_css($file); /* JS Files */ echo ie(''); ?>