Wordpress Speed Issue - *FIXED*

4 replies
I'm running WordPress 3.0.3 and the Silhouette theme by Brian Gardener, which looks like this (extremely lightweight theme).

Here are the results of the speed test on iWebTool.

Size: 24.63 KB
Load Time: 23.42 seconds
Avg. Speed per KB: 0.93 seconds

I tried deactivating ALL the plugins because apparently plugins can cause issues, but the site is still loading extremely low according to the iWeb Speed Test tool. There is something definitely going on.

I contacted my webhost, and they said I was NOT having any "connection problems". Other sites on the same IP (VPS server) load fast, so it seems to be something with this particular site/WP install.

I tried installing the default theme for WP 3.0 just to see if that would fix things, but it's still slow.

What could possibly be wrong?

I process .php redirects in a /links/ directory which is separate from WordPress and those links are slow too. So now I'm confused. My /links/ directory isnt even apart of Wordpress and it too is slow. Then my webhost says Wordpress and/or my theme is the problem.

I looked through all the template files - saw a couple deprecated functions so I replaced those will the new and correct function for WP 3.0 - but ...... still slow!

Please PM me with your prices for this kind of troubleshooting. I have spent the last 4 days on various forums trying to find somebody

Thanks!
#guru #issue #speed #troubleshoot #wordpress
  • Profile picture of the author anestbaik
    open your theme file "footer.php"
    (via appereance -> editor)
    put this ->

    PHP Code:
     function getPerformance(  = false ) { 
        
            = 
    sprintf(  'this page do %d query, on %.3f second, using %.2fMB memory'
               
    get_num_queries(), 
               
    timer_stop0), 
               
    memory_get_peak_usage() / 1024 1024 
               
    ); 
        
           return  ?  : 
    "<!--  -->" 
       }
     
    getPerformace(TRUE); 
    and see how long the server takes ..

    as i know,
    your loading time (on visitor side / visitor point of view) depends on your connection (from you to server) and any other "transmission" factor ..

    i hope i am not misunderstand your question ..
    {{ DiscussionBoard.errors[3071147].message }}
    • Profile picture of the author indexphp
      Originally Posted by anestbaik View Post

      open your theme file "footer.php"
      (via appereance -> editor)
      put this ->

      PHP Code:
       function getPerformance(  = false ) { 
          
              = 
      sprintf(  'this page do %d query, on %.3f second, using %.2fMB memory'
                 
      get_num_queries(), 
                 
      timer_stop0), 
                 
      memory_get_peak_usage() / 1024 1024 
                 
      ); 
          
             return  ?  : 
      "<!--  -->" 
         }
       
      getPerformace(TRUE); 
      and see how long the server takes ..

      as i know,
      your loading time (on visitor side / visitor point of view) depends on your connection (from you to server) and any other "transmission" factor ..

      i hope i am not misunderstand your question ..
      thanks! But I am not able to get the code to work.

      In your code, there is a 'n' missing on the last line of the function, so I fixed that but it's still not working. I also tried echo getPerformance(TRUE);

      This should add a comment in the source code, right?
      {{ DiscussionBoard.errors[3072650].message }}
  • Profile picture of the author ECS Dave
    This "MAY" help - WordPress › WP Super Cache « WordPress Plugins and can/should be installed via the wp admin panel...

    Be Well!
    ECS Dave
    {{ DiscussionBoard.errors[3071429].message }}
  • Profile picture of the author indexphp
    GOT IT HANDLED. Thanks everybody

    It was .htaccess
    {{ DiscussionBoard.errors[3073072].message }}

Trending Topics