Jumat, 04 Maret 2011
WordPress Optimization for Better Performance and Speed
Diposting oleh
ayo Indonesia
Is your WordPress blog performing at it’s best? How quickly does the page load? Is it sluggish? Your website’s performance is one of the key factors in ensuring that the visitors are having a good experience with your site. So I personally think it is worthwhile to spend some time tuning/optimizing the site for performance. In this article I have listed various tips and tricks on how to speed up a WordPress Site.
Before diving into the optimization tips and tricks I recommend measuring the current performance of the site so you have some benchmarking figures to compare against after you make the changes and see how it has affected the performance.
How to Measure the Performance of a Site
- I use YSlow Firefox addon to measure the page load time of a site. YSlow analyzes web pages and suggests ways to improve their performance based on a set of rules for high performance web pages. YSlow is a Firefox add-on integrated with the Firebug web development tool. So to use YSlow you will have to get the Firebug addon and then install the YSlow addon.The site in question takes about 23 secons to load which is not a very good page loading time. Some optimization could help!
- The number of database queries a webpage makes to load the page have an effect on the page load time. You can use the following piece of code in the footer of your theme to find out how many database queries a page is making:
<?php echo get_num_queries(); ?> queries in <?php timer_stop(1); ?> seconds.Make sure the webpage is not making any unnecessary database queries. - You can use the website speed tester to find out how fast your site loads.Website Speed Tester
- You can also use the stopwatch on numion.com to test how long it takes to load a webpage.
Basic WordPress Site Optimization Tips and Tricks
- Upgrade to the latest wordpress release (you should be doing this for security reasons anyway)
- Use W3 Total Cache WordPress plugin (Forget WP Super Cache). W3 Total Cache is just awesome… even I use it
- Minimize simple unnecessary PHP queries. For example, instead of using <?php get_bloginfo(‘wpurl’); ?> just replace it with your wordpress installation URL so the browser can simply read it instead of making a query.
- Load javascripts in the footer (The golden rule – CSS on top, javascript on bottom)
- Kill some plugins that are unnecesary or doesn’t add much value to your site (Disable or delete these plugins)
- Optimize and Repair your Database from myPhpAdmin. You can use the Optimize DB plugin that does this for you.
- Check your theme Code (Use valid HTML code)
- Get a Good hosting
Intermediate to Advanced Optimization Tips
- Keep your page sizes less than 100kb. Do not use too many unnecessary images and video on a page. Always compress the images appropriately.
- Combine css files into one big css file (One 50kb file loads a lot faster than five 10kb files)
- Combine javascripts into one big file.
- Reduce the number of dynamic PHP and http calls (Use subdomains to share the load)
- Use external scripts. Instead of placing tons of code in your header.php file, use external scripts. This allows the browser to cache the script so it won’t have to read it for every other page.
- Add far future expires header to images, CSS and javascript files (How to Add far future expires header).
- Don’t use ETags unless you are taking advantage of it (How to configure ETags).
You can use the PHP speedy WordPress plugin which takes care of few of the tips mentioned above. The Plugins to Speed Up Your WordPress Site article is also a good read.
Blog Archive
-
▼
2011
(496)
-
▼
Maret
(162)
- Remeh dan Kerdil
- Artikan Sendiri Maknanya, Saya Juga Bingung.......
- Memberi PASSWORD pada folder dengan dan tanpa soft...
- Facebook Mobile Prompt Feed XSS (Cara Iseng Ngerja...
- Membuat burung twitter terbang di blog - Floating ...
- Cara mengawasi facebook pasangan kita dengan multi...
- Solusi Buka Facebook di blok IT dengan browsing am...
- cara iseng promosi web atau blog di salingsapa.com
- Daftar Web Penyedia Jasa URL / Link Shortener
- Simple Javascript Floating Image, Object, Avatar,...
- Free download SLANK mp3 Full All album
- Domain Dot TK saya tiba-tiba menghilang
- Metode Kepahlawanan
- RW KESEDIHAN RT KEBUNTUAN
- Fake Mailer / Fake Email Sender / Email Palsu
- DARI HATI KE HATI
- Apa Besok Pagi Kita Belum Mati ?
- Sistem Nilai Apakah yang Kita Pilih
- Menghapus Blog Yang Kita Ikuti (Follow)
- Files And Archives of p4r46hcyb3rn3t
- Kenapa Saya Gagal Blogging?
- Islam itu tidak menyakiti siapa-siapa
- Pekerjaan Yang Mulia
- Kepada Siapakah Engkau Mengeluh?
- Dua Manusia Super Di Pinggir Jalan
- Saatnya Untuk Pulang
- Saya Anti Demokrasi.....!!!
- Manusia Bukan Tandingan Setan
- Kita Adalah Bangsa Yang Memang Tidak Perlu Rajin
- Ketika Gandhi Kehilangan
- Modal Utama Manusia Untuk Menjadi Muslim Bukan Al ...
- Bakwan Jengkol
- 10 Tips untuk Blogger Pemula
- Meningkatkan Pendapatan Adsense Anda
- Memasang Iklan Google Adsense Di Blog Bahasa Indon...
- Hikayat Bukit Tengkorak
- Namanya Melisa
- Saya Jadi Apa, Bukan Karena Ingin
- Kebenaran Dibalik Sebuah Berita
- Apakah Kita Sudah Assalamu'alaikum Wr. Wb.
- Cara Menghapus Crawl Error Dengan Webmaster Tools
- Langkah-Langkah Membuat Website
- Panduan Google Website Optimizer untuk Split Testing
- Panduan / Tutorial Menggunakan Google Adwords
- Dapatkan Pay Per Lead $5 dari Nifty Stats
- Cara Membuat Rekening PayPal-100% Gratis
- Belajar Tools dan Tips Google Adsense
- Apa Arti Sebenarnya Bisnis Online itu?
- Macam-Macam Program Affiliasi Website
- How to Make Money From Your Website
- Social Widget [Twitter, Facebook & RSS Feed] Plugi...
- Top 15 WordPress SEO Plugins for 2010
- 10 WordPress plugins to work with images
- Akismet Key and How to Resolve Akismet Detected Pr...
- Cara Promosi Blog Anda
- Cara Mendaftarkan Blog ke Search Engine
- Membuat Website Search Engine Friendly
- Using the Joomla! Contact Component
- Tutorial Joomla – Using the Media Manager for File...
- Tutorial Template Joomla
- Joomla: Bagaimana Menghilangkan Jcomments Footer Link
- JComment: Fasilitas Komentar Joomla yang Simple ta...
- Joomla : Ubah Favicon Joomla Sesuka Hati
- Membuat Domain Dot Com dengan Blogspot
- Cara Daftar Gratis Domain di Web.Id
- Daftar Domain Gratis dari dot Tk
- Membuat Domain Gratis di CO.TV
- Daftar Penyedia Domain Gratis
- Cara Membuat Daftar Isi dan Sitemap Blog WordPress
- Cara Membuat Daftar Isi pada Blog WordPress
- Membuat file Robots.txt di Worspress
- Membuat Sitemap pada Wordpress
- Membuat Artikel Terkait (Related Post) pada Blog W...
- Cara Memasang Iklan di Dalam Postingan Blog WordPress
- Membuat Link Di Wordpress
- Membuat Iklan Melayang (Floating) di WordPress
- Cara Instalasi WordPress Di Local Host
- Instalasi CMS WordPress Pada Server Hosting
- Cara Daftar di Domain Gratis, Free Domain, Free DN...
- Pengaturan DNS Pada Domain CO.CC
- Membuat Website Atau Blog Gratis Penghasil Uang
- Platinum SEO Plugin-The Ultimate WordPress SEO
- Membuat Album Foto pada WordPress CMS dengan Plugi...
- Cara Optimasi Blog WordPress Bagi Pemula Dengan Pl...
- Tips Untuk Free Web Directory
- How to Activate Akismet to Your WordPress Blog
- 9 Anti Spam WordPress Plugin
- Optimalisasi WordPress untuk Mesin Cari
- Cara Mudah Membuat Blog WordPress Terkenal
- Plugin to Speed Up Your WordPress Site
- WordPress Optimization for Better Performance and ...
- WordPress Easy Paypal Payment or Donation Accept P...
- Activate Our WordPress RSS With Feedburner
- Tutorial Daftar Hosting Gratis DI FREEHOSTIA
- Instal Wordpress di Hosting Byethost
- Beware Free Hosting With 000WebHost.com
- Panduan mendaftar Hosting di Hostgator
- Tutorial Membuat Domain Gratis .CO.CC
- Tutorial Membuat Hosting 000webhost
- What Is Website Webhosting
-
▼
Maret
(162)