apache - JOOMLA 网站速度太慢

标签 apache joomla xampp joomla2.5 joomla3.0

我的 Joomla 网站太慢。加载主页大约需要 8 到 10 秒。我正在使用xampp。模板原恒星。 PC 核心 i7。操作系统窗口。 JOOMLA 3.15。正常吗?

或者任何人都可以指导我如何调试此问题。

Snap shot form chrome developer network tab

最佳答案

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/

相关文章:

php - MySQL 错误 - InnoDB 不工作并且服务器立即关闭

apache - Tomcat 到 Grails 中的 Apache 代理/URL 子目录

PHP 和 .htaccess 身份验证解决方案

ruby-on-rails - 当我从 Rails Guide 添加 Far-Future Expires 子句时,Apache 崩溃

html - Joomla 烦人的页脚

sql - 连接两个没有关系的 SQL 表?

mysql - 如何在Xampp中配置Mysql?

php - fatal error : require_once(): Failed opening required

python - Django + mod_wsgi + apache2 : server hangs

api - Joomla 3.0 的 REST API