Jump to content


Photo
- - - - -

Have Slow Load Times? Read this please.


  • Please log in to reply
20 replies to this topic

#1 bryan-hadaway

bryan-hadaway

    Advocate

  • Members
  • PipPipPipPipPip
  • 3697 posts

Posted 09 March 2011 - 03:12 AM

1. Run your site through:

Please Login or Register to see this Hidden Content

- Save the report

2. Install WP Super Cache and Enable in the plugins settings:

Please Login or Register to see this Hidden Content



3. Install WP Minify:

Please Login or Register to see this Hidden Content



- Do not use if you've deep integrated with bbPress
- You need to exclude the main stylesheet in the plugins settings from being minified; for example:

Please Login or Register to see this Hidden Content



4. Again, run your site through:

Please Login or Register to see this Hidden Content

- Compare the results with the first to see improvements

Final Notes:

- WP Super Cache get's better the longer it's used.

- Slow speeds can also be caused by too many plugins, hosting storage/bandwidth limitations or a poor host in general, slow internet/computer speeds, heavy graphics files and Flash, poor markup and customizations - check for errors:

HTML:

Please Login or Register to see this Hidden Content


CSS:

Please Login or Register to see this Hidden Content



- Look for more tips elsewhere:

Please Login or Register to see this Hidden Content



and be sure to share your own experiences and enhancement tips below.

Thanks, Bryan

#2 cambridgenaturals

cambridgenaturals

    Member

  • Members

  • 10 posts
  • Country: Country Flag

Posted 09 March 2011 - 09:31 PM

Hi Bryan, Thanks but I still don't understand. Under the settings for the plugin (WP minify) I see a list of plugin files on the side. How do I "edit" the plug-in so the main style sheet is not included? Can you talk me through in told layman's terms (as I am one)? Thanks! Emily

#3 bryan-hadaway

bryan-hadaway

    Advocate

  • Members
  • PipPipPipPipPip
  • 3697 posts

Posted 10 March 2011 - 12:23 AM

Sure, when you activate WP Minify, you'll find it's settings under:

Settings > WP Minify

You'll then see a CSS Exclusion field/textarea - drop the URL to your main stylesheet there.

In some cases, you'll simply just need to exclude CSS from being minified altogether.

Thanks, Bryan

#4 cambridgenaturals

cambridgenaturals

    Member

  • Members

  • 10 posts
  • Country: Country Flag

Posted 16 March 2011 - 06:38 PM

How do I figure out what the URL to my main stylesheet is?

#5 bryan-hadaway

bryan-hadaway

    Advocate

  • Members
  • PipPipPipPipPip
  • 3697 posts

Posted 17 March 2011 - 03:10 AM

View source with Firebug:

Please Login or Register to see this Hidden Content

OR Right-click on your homepage to view source. Thanks, Bryan

#6 cambridgenaturals

cambridgenaturals

    Member

  • Members

  • 10 posts
  • Country: Country Flag

Posted 17 March 2011 - 06:11 PM

ARGH! I did this, and now I've lost all of the custom CSS that I created. How do I get this back, or exclude the Custom CSS I created from also being minified??

#7 cambridgenaturals

cambridgenaturals

    Member

  • Members

  • 10 posts
  • Country: Country Flag

Posted 17 March 2011 - 06:13 PM

Ahh, figured it out. Thank you!

#8 bryan-hadaway

bryan-hadaway

    Advocate

  • Members
  • PipPipPipPipPip
  • 3697 posts

Posted 18 March 2011 - 04:03 AM

Yeah, also when you're really having a tough time you can always just exclude CSS from minification altogether. So, have you noticed better load times? Also, for anyone else following along, you can't actually lose your CSS or mess it up, it can just be cut off from propagating if the WP Minify settings aren't right. Thanks, Bryan

#9 thereason

thereason

    Member

  • Members
  • 11 posts
  • Country: Country Flag

Posted 25 March 2011 - 02:53 AM

HELP! This isn't working at all. Ever since to update my site crawls or doesn't load at all. What else can I do?

#10 thereason

thereason

    Member

  • Members
  • 11 posts
  • Country: Country Flag

Posted 25 March 2011 - 02:57 AM

my site is... www.thereasonilove.com

#11 albduece

albduece

    Advanced Member

  • Members
  • 34 posts
  • Country: Country Flag

Posted 28 March 2011 - 09:50 PM

I tried these and they didnt really help speeding up my site. It is still so unbelievably slow. I had to disable both pug ins because they changed my site (the menus drop downs no longer worked, and my home page was all wierd, and my flash elements disappeared) and yes i excluded the css in minify please help, its so slow i can t even edit it in wordpress www.coloradorafting.com/test

#12 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts
  • Country: Country Flag

Posted 29 March 2011 - 05:20 PM

You do have a lot of unnecessary scripts being added e.g. all the UI scripts in the footer loaded with thickbox are already included in the WP core:

Please Login or Register to see this Hidden Content

You should consolidate those. Of course Flash is also going to slow you down because that has to load before the page is all set. Also, just in case you aren't on the most recent version...do so because we consolidated some css files in a recent update.

#13 albduece

albduece

    Advanced Member

  • Members
  • 34 posts
  • Country: Country Flag

Posted 30 March 2011 - 08:18 PM

forgive my ignorance but, how do i do consolidate those scripts?

#14 astearns

astearns

    Member

  • Members
  • 29 posts

Posted 31 March 2011 - 03:50 AM

albduece - This link should shed some light on it for you.

Please Login or Register to see this Hidden Content

:)

#15 albduece

albduece

    Advanced Member

  • Members
  • 34 posts
  • Country: Country Flag

Posted 31 March 2011 - 07:57 PM

thanks Alyson, I will give that a shot, but I have sinced fixed the problem just by switching hosting companies see link.

Please Login or Register to see this Hidden Content



#16 joan54

joan54

    Advanced Member

  • Members
  • 59 posts

Posted 01 April 2011 - 11:24 AM

Hi there,

I have some questions, Hope you can help me my web is too slow. I am not an expert in code.

1. I applied the procedure indicated in the beginning but i just found the file:

Please Login or Register to see this Hidden Content



I didn't find anything like ....themes/platformbase/style.css?ver=x.x (with the version) . Am I using the right file?

2. I am using Buddypress and multisite

Please Login or Register to see this Hidden Content

. I am using platformbase in the main web. The others have

Please Login or Register to see this Hidden Content

,

Please Login or Register to see this Hidden Content

,etc

are using platformpro
(I read in other part of the forum that the child them should be activated only in the main site)

When I activated the plugin WP-minify I activated for the network, but when I put the file

Please Login or Register to see this Hidden Content



that site was a mess. I have disable the option "Enable CSS Minification"

Should be another file CSS?, should this only be done on the main site (root), should I use child theme in all sites?

3. I run CSS:

Please Login or Register to see this Hidden Content

as a recommendation indicated in the beginning of this entry. I found a lots of errors (see pic) Posted Image. it seems that comes form the template. Is this the way it should look?

The template is great but sometimes seems too complicated. Please advice!

Luis

#17 kastelic

kastelic

    Advocate

  • Members

  • 3081 posts
  • Country: Country Flag

Posted 02 April 2011 - 04:17 AM

1. Yes you are. That's just some extra stuff the Inspector is telling you about it. 2. I've never found automatic CSS minification to work well in any case, any theme. I would just avoid it, honestly. 3. All these "errors" are actually CSS3 features that have not been accepted into the W3C standard yet, but are in use by many browsers and hundreds of thousands of websites. Don't get too caught up on validating your site perfectly, its nothing more than a tool to help you spot errors that are causing your site to get messed up. Google provides no SEO penalty for not being "valid" (if you don't believe me, type google.com into the validator.)

#18 joan54

joan54

    Advanced Member

  • Members
  • 59 posts

Posted 02 April 2011 - 05:43 PM

Jimmy, Thank you very much. This helps a lot. My site is still slow, I've decided to migrate to another server. Thanks, Luis

#19 JohnMagic

JohnMagic

    Advanced Member

  • Members
  • 87 posts

Posted 05 June 2011 - 07:52 PM

@Jimmy: Are you sure on the fact about Google and valid code. Tests have indicated that Google prefer the valid one of two identical documents. Its a minor issue though. Page speed though is a major issue, and as Pagelines themes with several plugins have many script and css files to download it will be wise to download many of these from a CDN. CSS should be in one optimized file imho.

#20 kastelic

kastelic

    Advocate

  • Members

  • 3081 posts
  • Country: Country Flag

Posted 05 June 2011 - 09:21 PM

I did hear that on a Google presentation somewhere, directly from the search developers. If tests say otherwise, then its something worth looking into. Do you remember where you saw those test results? Were they recent?