我的 Joomla 网站太慢。加载主页大约需要 8 到 10 秒。我正在使用xampp。模板原恒星。 PC 核心 i7。操作系统窗口。 JOOMLA 3.15。正常吗?
或者任何人都可以指导我如何调试此问题。
最佳答案
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
我的服务器是 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>
关于apache - JOOMLA 网站速度太慢,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19566732/