Re: Concrete5 速度アップについて
2011年1月28日 at 12:39
> 1.CSSの直書き?
直書きすると、色などのカスタム設定ができなくなりますが高速になります。
elements/header.phpにmain.cssを下のように書いているが
<link rel="stylesheet" media="screen" type="text/css" href="<?php echo $this->getStyleSheet('main.css')?>" />
<link rel="stylesheet" media="screen" type="text/css" href="<?php echo $this->getStyleSheet('typography.css')?>" />
下に変更する。
<link rel="stylesheet" media="screen" type="text/css" href="<?php echo $this->getThemePath().'/main.css'?>" />
<link rel="stylesheet" media="screen" type="text/css" href="<?php echo $this->getThemePath().'/typography.css'?>" />
Your post has been saved and will be published after approval by the forum moderator.