Oppz 我现在就解决了。我在 php.ini 中禁用 Xdebug,时间从 8 秒减少到 1 秒
[XDebug]
;zend_extension= "C:\Users\arslan\Desktop\xampp-win32-1.8.1-VC9\xampp\php\ext\php_xdebug.dll"
;xdebug.remote_enable=on
;xdebug.remote_handler=dbgp
;xdebug.remote_host="localhost"
;xdebug.remote_port=9001
;xdebug.remote_autostart=1
Run Code Online (Sandbox Code Playgroud)
我的服务器是xampp。
Joomla网站速度慢的问题解决了。
现在它像豹子一样奔跑。
操作系统window7
工作站 corei7
本地主机
编辑:: 当我从 protostar index.php 即 google fonts 中删除以下代码时,时间减少到 0.5 秒
<link href='http://fonts.googleapis.com/css?family=<?php echo
$this->params->get('googleFontName');?>' rel='stylesheet' type='text/css' />
<style type="text/css">
h1,h2,h3,h4,h5,h6,.site-title{
font-family: '<?php echo str_replace('+', ' ', $this->params->get('googleFontName'));?>', sans-serif;
}
</style>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
5999 次 |
| 最近记录: |