• Huis
  • |
  • Ongeveer
  • |
  • Archieven
  • |
  • De Galerij van de foto
  • |
  • Het werk overzee
  • |

Dec
31
Hoe snel uw Wordpress Blog is
Translate to EnglishÜbersetzen Sie zum Deutsch/GermanПереведите к русскому/RussianΜεταφράστε στα ελληνικά/GreekVertaal aan het Nederlands/Dutchترجمة الى العربية/Arabic中文翻译/Chinese Traditional中文翻译/Chinese Simplified한국어에게 번역하십시오/Korean日本語に翻訳しなさい /JapaneseTraduza ao Português/PortugueseTraduca ad Italiano/ItalianTraduisez au Français/FrenchTraduzca al Español/Spanish

Één van de uitdagingen met Web-pagina's handhaaft een aanvaardbare ladingstijd terwijl nog het hebben van genoeg onmiddellijk getoonde inhoud om uw doelpubliek interessant te houden. Toen I eerst Wordpress als mijn aangewezen blogging naherfst laadde en te werk ging om het thema aan te passen, laadt alle widgets, toevoegt een fotogalerij, sommigen die… adverteren krijgt u het beeld, een norm Wordpress blog, was ik onbewust mijn blog was geworden slooooow .....

Het is interessant dat aangezien u aan uw blogsthema werkt om het enkel juist te krijgen u eigenlijk onbewust wordt dat uw blog zo langzaam is geworden dat de mensen waarschijnlijk weggaan alvorens de pagina eindigt ladend. De naherfst ook wordt frustratingly langzaam, neemt het over het algemeen iemand om het aan u te brengen aandacht, alvorens u realiseert het een kwestie is.

Dit werd eerst langs gebracht aan mijn aandacht Surgey van Hello Monsters. In feite vergde mijn blog meer dan 10 seconden aan lading die na wordt gemaakt bewust van het ik de behoefte van I besliste om actie te voeren.

O.k., nu weet ik wat het probleem hoe is ga ik over het bevestigen van het? Goed heb ik een paar gemakkelijke weg gevonden om uw Wordpress blog te versnellen zonder enige speciale vaardigheid te vereisen en zeer gemakkelijk en snel kunnen worden gedaan.

Eerst dit ik deed moest installeren Firebug Firefox Plugin . Als u geen Firefox gebruikt die ik u geeft het een poging heb voorgesteld. Met Firebug plugin kunt u zeer snel zien hoe lang elk deel van uw Web-pagina aan lading duurt.

Firebug

Op onderzoek merkte ik op dat een bos van plugins werd geladen alhoewel zij niet actief in mijn blog… hmmm… tijd waren om ongebruikte plugins schoon te maken. Wat ik deed laadde een plugin, het testen, beslissend hield ik niet en desactiveer van het. Ik zou plugin ook moeten geschrapt hebben aangezien dit een belangrijke oorzaak van vertraging op Wordpress blogs is. Schrap zo alle ongebruikte widgets van uw plugin folder Wordpress.

De tweede oorzaak van vertragingen die ik was tekst widgets heb opgemerkt dat was niet in gebruik maar code bevatte. Zo voor alle ongebruikte widgets die code kunnen goedkeuren, ervoor zorgen zijn zij leeg anders zij worden verwerkt en vertragen de paginalading.

Het vrij gemakkelijke recht… maar dat zijn niet was het ophield voor me. Hoewel met de twee eenvoudige veranderingen boven het oogsten grote beloningen die ik nog heb willen om de ladingstijden onderaan verder brengen. Als programmeur ken ik het belang van Geheim voorgeheugen, zodat vond ik een aardige Wordpress plugin die server zij in het voorgeheugen onderbrengende functionaliteit geeft, Het Super Geheime voorgeheugen van wp . Not only was the name catchy it did actually reduce load times and didn’t require the reader to do anything.

Ok, were still on some pretty easy stuff here and if everybody followed the above recommendations then your blog would definitely load faster.

Now it’s nearly unavoidable to rely on external resources to provide some form of content on your blog, i.e. adsense, mybloglog, adtoll… etc.. etc.. the list goes on.

So how do you optimize these? One strategy is to make sure your content loads before the external links, so one thing I did was put the mybloglog code in the footer.php. Now this may be beyond some peoples ability so be careful. The advantage I have with the mybloglog in the footer is that my blog loads before all the little mybloglog thumbnails have completed loading, and I have a lot of them!

Now generally blogs have some some advertising, so there are two things you can easily do here. Make sure images include height and width attributes. This will allow the browser to allocate the image space before the image is loaded, and for code based advertising place the code in an iFrame so your page continues to load regardless of what the iframe is doing. Both these tips are very effective.

Now it appears that the average persons ability to wait for a page to load is 8-10 seconds, anything longer and you risk losing your audience, and with the above tips hopefully your blog will load it’s main content within this time frame.

There is one more tip I have but this is not for the faint of heart. You can compress your .css files to reduce data that needs to be loaded. Now .css files are beautifully formatted so they are man readable, but your web browser doesn’t care, so you can save up to 30% of load times for .css files by removing all the lovely spaces, pagination, tabbing etc in the .css files that make them man readable. There a many utilities to compress your .css files and give reports on how much the file size is reduced. e.g. Icey. As I said this is not for everyone though.

I hope you can all reduce load times and feel free to leave more tips in the comments for all to learn.

Have a Safe and Happy New Year.

ことしもありがとうございました

-Paul

.......................................................................

 




Read More


Google
Comments:
23 Comments posted on "How Fast is your Wordpress Blog"
mariam on December 31st, 2007 at 2:58 pm #

Nice tips, Paul.

I use YSlow myself and as you know, I’m thinking of redoing my blog design as well… it just seems so… blah.

I also read on Yahoo Developer Network about Best Practices for Speeding up Your Web Site. I would love, love to design my own blog template but geez, too much on my plate. I’d probably get the book too if I ever decide to do it.


-Paul on December 31st, 2007 at 3:34 pm #

yeah, I agree with making our own templates to get exactly what we want..but no time, so much beer and only one mouth ;-) Thanks for the link, maybe I can squeeze some more speed.. and of course share with the community.


Sam Freedom on January 1st, 2008 at 4:15 am #

Can ICEY compress ANY HTML type files? If you don’t compress on blogspot, anything other than pure text can come out looking like garbage.

Anyways, thanks for an excellent, very helpful, article.

Sam


Chris Estes on January 1st, 2008 at 5:35 am #

Your blog was still slow when I accessed it. One thing you might consider is changing host. Also if your sql isn’t configured correctly can also cause slow load times. There are so many things that cause the problems it is hard to lay down any one single solution.

I use a couple of these plugins myself and have the very useful for server load time and bandwidth usage.


-Paul on January 1st, 2008 at 6:40 am #

Hey Sam, my tips were aimed at wordpress not blogger and Icey is only for .css files, not html. cheers


-Paul on January 1st, 2008 at 6:43 am #

thanks Chris, I still sometimes see slow loading but generally it is ok, and as you pointed out I definitely need a new hosting service, I think I am stuck on their 486-100mhz server in their back shed ;-) … definitely a task for the new year !


David on January 1st, 2008 at 10:53 am #

Can you please post some specific example code in a textarea box?

“Now generally blogs have some some advertising, so there are two things you can easily do here. Make sure images include height and width attributes.”


-Paul on January 1st, 2008 at 11:58 am #

David, I emailed you direct.. cheers


Noah Ark on January 3rd, 2008 at 6:43 am #

Thats a plugins (widgets) developer fault. Wordpress has various build-in methods/functions for managing external files (js/css)on specific case and task i.e: is_active_widget(id) || is_?(?) || get_option(’active_plugins’) ||add_action & add_filter ). Unfortunately not all used it thought. I found a good theme (suprise) that cleverly apply this methods. Its only load the external files if the widget or plugins is active on the request page. its even combine-hash-gzip all the external as single files (js/css). You can view it on my blog for demo and check how it hook openid & wordpress default widgets external files.


David Dalka - Creating Revenue and Retention - Chicago GSB MBA on January 3rd, 2008 at 9:48 am #

Now Sporting Wordpress 2.3.2…

Please clear your cache! I’ve installed the latest version of Wordpress and made several theme tweaks and additions. I’m pleased to announce that all of the plugins I now have are compliant with Wordpress 2.3, I hope this cycle time continu…


Speed Up Blog Load Time » Pat B. Doyle on January 3rd, 2008 at 3:45 pm #

[...] How Fast Is Your WordPress Blog? Some great tips to speed up your blog. I didn’t know that unused plugins can slow your blog down! If you liked this article: Subscribe by RSS Subscribe by email Stumble it! Related Posts: [...]


dementia on January 4th, 2008 at 5:22 am #

Great article. My wordpress is loading slow so I hope the tips you suggested would make it load faster.


ShadowKnight on January 4th, 2008 at 4:33 pm #

Fantastic, certainly helped my site improve significantly. I am going to refer people across with a post of my own. Thanks and keep the great tips coming!


SCHWOIT » Blog Archive » Improve Wordpress Performance - Gardening and Geekdom in the Urban Jungle on January 4th, 2008 at 4:33 pm #

[...] cards I often find some great articles and tips. The latest little gem is a real corker. It is the How Fast is your Wordpress Blog. It came in very handy for me as I was noticing increasingly slow load times on SCHWOIT. However, [...]


-Paul on January 4th, 2008 at 6:11 pm #

Thanks everyone for the comments, feedback and links. I am sure this will be continuous activity for me, so I will be sure to keep posting anything I find that does speed up the wordpress engine.
-Paul


Matt Ellsworth on January 5th, 2008 at 3:44 am #

well i just lost my comment since when you hit tab it doesn’t go to the submit button…

so here is the shorter version.

Thanks for the tips. I was unaware of the text widget issue.

after compressing the css files we did that with the js files as well and then changed the .htaccess file to send gzip’d versions of those files if the browser supports it.


Cheryl Gonzalez on January 6th, 2008 at 7:15 am #

I recently became aware of 2 problems that severely impact your WordPress blog performance and slows down your blog.

NOTHING impacts it more then bloated database! The tables of your database “wp_options” can grow pretty large and bring your blog to a c-r-a-w-l.

It forced me to look at bigger issue as in process of cleaning I discovered that all plugins I have ever installed and even a couple themes managed to leave entries in very same table contributing to the total size and slow load times.

All the plugins and even some themes use wp_options to set its setting and as such contribute to the size of the table. It is very same table used by WordPress to store ALL settings related to your blog and every time you open any page it has to be read and processed.

When you deactivate plugin or decide to switch theme (assuming it stored its settings in wp_options) – it NEVER cleans behind itself.

You have to login to your phpMyAdmin and open database for your blog and Browse action for wp_options table and go through it record by record.

It may take hours…but your blog speed and users will Thank you for it.


Cheryl Gonzalez on January 6th, 2008 at 7:20 am #

Hmmm….I hit submit and went to the top of the page?

My short version is… All the plugins and even some themes use wp_options to set its setting and as such contribute to the size of the table. It is very same table used by WordPress to store ALL settings related to your blog and every time you open any page it has to be read and processed.

So….You’ll need to login to your phpMyAdmin and open database for your blog. Click on Browse action for wp_options table and go through it record by record.

May take hours but your blog and users will Thank you for the increaed speed.


Cheryl Gonzalez on January 6th, 2008 at 7:22 am #

I have tried to post a valuable comment twice…and I float back to the top of the page after clicking submit. Guess you don’t want anymore comments…but then you should close the comment box.


-Paul on January 6th, 2008 at 8:01 am #

Hey Cheryl, your comments made it through, don’t know what caused the issue. sorry about that. Good tip about the database, I may be brave enough to give it a try. cheers

-Paul


music on January 7th, 2008 at 4:44 pm #

very interesting.
i’m adding in RSS Reader


» Blog Archive » » Make Wordpress Run Even Faster on February 1st, 2008 at 12:34 pm #

[...] in December I blogged about “How Fast is your Wordpress Blog” Having done a lot more research into this subject I have come up with a few more ways to Speed up [...]


BGM Tactical on April 11th, 2008 at 10:47 am #

I found firebug helps fix a lot of these problems. Well at least it shows you where the problems lie. I will have to give these a try.


Post a comment
Name:
Email:
URL:
Comments:
Google


  • Popular

    • iPhone in Japan by Softbank
    • PhotoHunt High
    • National Foundation Day - 建国記念の日- kenkoku kinen-no-hi
    • Japanese Etiquette
    • Best Hamburger in Tokyo - Sasebo Burger
  • Poll

    Whats Your Favorite Tattoo?

    View Results

    Loading ... Loading ...
  • Contest

  • Subscribe

    • Subscribe via Feed Burner
  • Friends



    Take a Babymoon Holiday Now

  • Blogroll

    • Anyways is Not a Word People
    • Evil Woobie
    • JapanSoc
    • jDonuts
    • Learn Japanese Igo
    • My English is Engrish
    • My Life as a Gaijin
    • Neil Duckett
    • Photo Hunt
    • Ski Holidays
    • The JLPT Study Page
  • Home
  • |
  • About
  • |
  • Archives
  • |
  • Photo Gallery
  • |
  • Work Overseas
  • |

Recent Readers
Featured Photos
Advertisers