Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   Anyway to make this theme load faster? (http://forum.bytesforall.com/showthread.php?t=3533)

johnd28 Sep 19, 2009 05:10 PM

Anyway to make this theme load faster?

I have a wordpress CMS site running on this theme that is loading kind of slowly.

When I look at the code of the pages generated, it seems there's a lot of code at the top before the actual content. Is all this code necessary? Doesn't it slow down the site?

Another question is how to make the center container load before the left sidebar. This will allow the readers to start reading while both sidebars load.

How can this be done?

Thanks, John
p.s. any other tips to make the site load faster will be appreciated.

Flynn Sep 20, 2009 07:22 PM

See Theme Options -> Configure CSS & JS to make these files external

Use Wp Super Cache or WP Cache 2 as plugin, make sure you run a PHP cache like XCache, have mod_deflate (Apache 2) or mod_gzip (Apache 1) or Gzip (other webservers) enabled by the web host. The performance of the web server (hardware and software) and MySQL server can have a much greater impact than optimizations on the theme.

The center column content cannot be loaded before the left sidebar in this type of layout. This is the price for the better stability of this layout compared to "source ordered" DIV only, floated layouts. You'd have to put both sidebars on the right sidebars if you're concerned about the source order.

Combining all plugin CSS files into one CSS file and all plugin JS files into one JS would also help. PHP Speedy is supposed to do that. http://www.turleando.com.ar/autoptimize/ might be better according to http://andybeard.eu/2065/wordpress-comment-seo.html

sharialexander Sep 26, 2009 09:29 PM

Sorry to bug you on this, but I've been searching the forum and haven't been able to solve this for myself.

My blog (www.presentingmatters.com/blog) is still running very slow. I have made the CSS and JS an external file.

I'm confused about the advice about gzip. Is that a plug-in or do I call my host to make that adjustment?

Any advice is greatly appreciated!!!! Thanks bunches! :)

Flynn Sep 27, 2009 05:10 AM

Gzip or mod_deflate is something the host would have to set or install

johnd28 Sep 27, 2009 02:57 PM

Hi Flynn,

Thank you for your suggestions, I will talk with my hosting company which is godaddy.

However, I have tried t turn CSS and JS files to external with horrible results. The blog just lost its shape. I am using supercache but the blog is still loading super slowly.

In IE it is even worse than Firefox and I am losing visitors. I don't know why IE behaves much worse, but it's close to impossible to go from one page to the next.

My blog is a CMS at http://www.WorldofDiets.com

Do you have any idea on how to make it fly?


juggledad Sep 27, 2009 03:45 PM

are you on a shared server or a dedicated one? That can make a big difference.

bushtool Sep 27, 2009 11:34 PM

Your site is very fast on both IE and firefox for me. About 2 seconds page

bushtool Sep 27, 2009 11:38 PM

According to pingdom, this twitter button is causing a slowdown


johnd28 Sep 27, 2009 11:52 PM


thank you for all your suggestions.

I removed the widget with the twitter button. However, it only appeared on the home page and the other pages were just as slow.

I'm surprised to read that for some of you the site loaded fast. It's super slow here and from other PCs I tried.

I will try to install the xcache plugin.

When I moved the CSS and JS files to external, the site lost its design. Any ideas on that?

I am running PHP widgets in the sidebars to run the navigation links, should I remove them to make the site run faster?

I will talk with the hosting company and see if they have any ideas.

I believe I'm on a shared hosting server at godaddy, but at 500-1000 visitors a day or so, I doubt if a dedicated server is merited, do you? Are any of you experiencing similar problems with godaddy? Godaddy also offers what they call virtual dedicated servers. Is that a worthwhile option?

Any more ideas on how to run the site faster would be great. Thank you guys so much for your advice?

juggledad Sep 28, 2009 04:37 AM

what version of Atahualpa, WP and PHP/?

johnd28 Sep 28, 2009 07:09 AM


I'm using WP 2.8.4

Atahualpa 3.4.2

PHP 4.3.11

juggledad Sep 28, 2009 08:23 AM

First thiing I would do is upgrade to php5 - I think there is a setting you can add to the .htaccess file to do this - search the godaddy FAQ for directions. php4 will cause some problems

Gravity Sep 28, 2009 03:46 PM

I am using W3 Total Cache and it has features to minify and compress code, plus page caching. I have no compatibility problems with Atahualpa (nor a bunch of other plugins I use) and find it an excellent way to provide Digg-protection plus speed.

The help file for Total Cache linked me to this superb free analysis tool, too, which identifies where the slowdowns might be.

johnd28 Sep 28, 2009 04:22 PM


I changed the PHP version. It is now 5.2.5. The blog is still very slow. SOme of the pages take 5-6 seconds to load.

Is this W3 Total Cache any better than Super-cache. I also ran the diagnostic tool you suggested but can't figure out what it's saying or what can be done about the results.

As to Xcache, I'm not too techy, so I will probably have to hire someone to do this for me.

I am beginning to believe that this theme is just slower than others. Are you guys running fat loading blogs with it?

juggledad Sep 28, 2009 04:33 PM

I'm now seeing 1-3 second load times - how much faster do you want it? (that was a retorical question :p)

johnd28 Sep 28, 2009 04:34 PM

That's strange. I'm getting 5-8 seconds

juggledad Sep 28, 2009 04:43 PM

remember there are a ton of variables that will determine the time it takes for you to see the page.
- how fast is your computer?
- how many processes are running on it
- are you running hard wired or wireless
- - if wireless
- - - how fast is the wireless
- - - much interference is there on the channel you chose
- how fast is your connection to your isp
- how many hops is it from you to the computer the site is hosted on
- what kind of actrivity is going on at each machine along the way
- what the machine activity where your site is hosted
- if grabbing things from other sites (ad's feeds etc) how many hops to the source, speed on machines etc etc

if you have two computers at the same location but one is a 256meg 1.5 GZ machine running 100 processes, and the other is a 4gig 3Gz machine with basically nothing running, do you thiink the page loads will be the same?

tons of variables...

sharialexander Sep 30, 2009 09:42 PM

Okay, so...I did the external CSS and JS files. I had my host do the gzip-dmoz-thingy for Apache. My blog (www.presentingmatters.com/blog) is still running very slow. Could someone take a look at it and tell me if I'm completely missing something? Sorry I'm not the most technically-minded person, but I'm really hoping to solve this problem. Thank you to all of you who have helped. I really appreciate it!

paulae Oct 1, 2009 07:05 AM

Hi there. I just went to your site, and it did take a long time. You don't have the timer enabled (you can do that in the footer settings, to show the load time at the bottom of the page), but I'd say it took 7 or 8 seconds, at least, in Firefox on a fast cable connection at 8am.

One thing I noticed while watching the lower left corner of the browser as the page was loading: It seemed to hang for the longest time on Apture. I looked at your source code, and that appears to be the video embedded object. Have you tried the page without that in there?

That said, I also think the theme takes too long to load, compared to other themes I've tried.

juggledad Oct 1, 2009 08:19 AM

one of the problems is that this image does not exist
HTML Code:

and a lot of time is spent looking for it.

Also your 'body' background has this
HTML Code:

background:url(presentingmatters.com/blog/wp-content/themes/atahualpa342/images/inputbackgr-red.gif) repeat top left
change it to
HTML Code:

background:url(http://presentingmatters.com/blog/wp-content/themes/atahualpa342/images/inputbackgr-red.gif) repeat top left

sharialexander Oct 5, 2009 10:48 AM

Okie-dokie...I made the image adjustments that Juggledad suggested and added the timer paulae suggested into the source code. It says it takes about 7 seconds. Now, I hope I'm not crazy in wanting it to be closer to 2 or 3 seconds. Is there something I'm missing? I go to other sites with this theme and it doesn't take that long.

I REALLY appreciate all your help! Hoping to get this solved. Thanks!:)

paulae Oct 5, 2009 11:12 AM

According to your source code, you have a favicon, but I don't see one. The HTML is looking for one, and maybe that's causing some delay in initial loading of the page.
HTML Code:

<link rel="shortcut icon" href="http://presentingmatters.com/blog/wp-content/themes/atahualpa342/images/favicon/PMfavicon.ico" />
Another thing I noticed is this:
HTML Code:

<div id="imagecontainer" class="header-image-container" style="background: url('http://presentingmatters.com/blog/wp-content/themes/atahualpa342/images/header/[color="Red"]Adjusted Wordpress Banner.jpg[/color]') top center no-repeat;"><div class="opacityleft">&nbsp;</div><div class="opacityright">&nbsp;</div></div>

Browsers and Unix don't like Mac-style file names with spaces in them. I don't know if that causes any problems here or not, but I just noticed it.

juggledad Oct 5, 2009 01:00 PM

your background gif is still formed wrong and you loose 3 seconds for it not to be found. Fix it!

juggledad Oct 5, 2009 01:34 PM

BTY for anyone interested. I did a little test of a new site I'm working on - very basic - using Firebug and looking at the entire load time. I flushed the local cache each time - the times are in seconds.

1) CSS External/Java External - 2.82
2) CSS External/Java Internal - 2.45
3) CSS Internal/Java External - 2.29
4) CSS Internal/Java Internal - 1.64

so it added a lottle over a second if the CSS and Java was external. - food for thought

paulae Oct 5, 2009 02:45 PM

Interesting. I thought having CSS and JS external was supposed to make the site load faster, not slower!

All times are GMT -6. The time now is 06:41 AM.

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.