Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k views
in Technique[技术] by (71.8m points)

apache - JOOMLA site too slow

my Joomla site is too slow. It approximately uses 8 to 10 s to load main page. I am using xampp. template protostar. PC core i7. OS windows. JOOMLA 3.15. Is it normal ??

OR any any one may please guide me how to debug this issue.

Snap shot form chrome developer network tab

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Oppz i solved it just right now. I disable Xdebug in php.ini and time reduces form 8s to 1s

[XDebug]
;zend_extension= "C:UsersarslanDesktopxampp-win32-1.8.1-VC9xamppphpextphp_xdebug.dll" 
;xdebug.remote_enable=on
;xdebug.remote_handler=dbgp
;xdebug.remote_host="localhost"
;xdebug.remote_port=9001
;xdebug.remote_autostart=1

my server was xampp.

Joomla site slow problem solved.

Its running like leopard now.

OS window7

workstation corei7

localhost

Edit:: And time reduces to 0.5 sec when i removed following code form protostar index.php i.e google fonts

 <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>

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...