Techniqued- Technoloy, Review and Tutorials
  • Android
  • Freewares
  • Tutorial
  • Windows 11
  • macOS
No Result
View All Result
Techniqued- Technoloy, Review and Tutorials
  • Android
  • Freewares
  • Tutorial
  • Windows 11
  • macOS
No Result
View All Result
Techniqued- Technoloy, Review and Tutorials
No Result
View All Result

How To Speedup Your WordPress Blog

Nirmal by Nirmal
November 6, 2007
in Tips and Tricks, Wordpress
22
Share on FacebookShare on Twitter

This is a Guest post by Ram from Teknobites who blogs about Tech- news, Web 2.0, tools, tips and tweaks. Don’t forget to visit his blog for more news and Subscribe to his blog for regular updates.

WordPress is the best blogging platform available (some may not agree) with hundreds of plugins to tweak for your needs. When you start your blog you may not need to optimize your blog to speedup but once your blog receives traffic or make it to the digg frontpage it is necessary to tweak it so that it runs faster. In this post we will see how we can speedup wordpress blogs with simple steps.

Wordpress

  • Themes like K2 are fancy and give a nice feel for the visitor but they consume lot of resources and effect page loading time. Use simple themes with less CSS and Javascript so that your blog runs smoothly. If you have to use AJAX use where it is necessary. You can even optimize CSS and Javascript with tools like CSS Compressor and Javascript Compressor.
  • Use plugins which are necessary, remove all unwanted plugins.
  • WordPress has a bulit in object cache but it is not enabled by default, you can enable this by adding the below lines to your wp-config.php file. You can notice the difference in performance later.
    //enable Object Cache
    define(‘ENABLE_CACHE’, true);
    //define expiration time
    define(‘CACHE_EXPIRATION_TIME’, 900);
  • WordPress has Gzip compression support you can enable this so that browsers with Gzip support will load your site faster. This function is wp-admin >> Options >> Reading. This should be disabled if you plan to use Wp-cache plugin.
  • Use Wp-cache plugin to cache posts in static files. These files are served for future requests with out compiling PHP code and building the page from the database. This is a must use plugin when you are dugg. Remember Gzip compression should be disabled to use this plugin.
  • Try to minimize the external scripts on your sidebar these include Mybloglog, Blogcatalog and other javascript widgets.
  • You can serve TLA and other affiliate banners from your own server instead of loading the images remotely. (This may consume your bandwidth but you are no longer dependent on external server speed)
  • The below tips are only useful if you have a dedicated server.

  • Install PHP Compiler Cache scripts like eAccelerator or Zend Optimizer on your server. These scripts will cache PHP scripts in their compiled state so that the server don’t have to compile PHP scripts each and every time they called from wordpress.
  • Enable Mysql query cache: Mysql query cache saves query results and serves it when the same query comes again. You can add the below 2 lines to your /etc/my.cnf file to enable this.
    query_cache_type = 1
    query_cache_size = 33554432
    The query cache parameter tells how much memory to use, in this case it is 32M.

Now apply some of these tweaks if not all and make your WordPress to run faster. Do let me know if you use any other tweaks to speedup your blog.

ShareTweetSendSend
Previous Post

Five Reasons for your New Blog to Fail

Next Post

Google Hacks – Advanced Google Search Tool

Related Posts

Tips and Tricks

Can I Run Windows 11 without Activating

June 14, 2024
Social Networks

How to Change your Instagram Name

May 12, 2024
Social Networks

How To View Your Instagram Reels Watch History

May 11, 2024
Social Networks

How To Post Longer Videos On Instagram

May 6, 2024
Social Networks

How to Find Who Unfollowed you on Instagram

December 9, 2023
Social Networks

How to Download Instagram Reels [Official Method]

November 28, 2023

Comments 22

  1. Vijay says:
    18 years ago

    Interesting set of tips here, Ram! I need to implement a few of them myself!

    Reply
  2. Ken Xu says:
    18 years ago

    OW, wish I had the dedicated server! 🙂
    Nice tips, wp-cache is sure one of the good way to optimize download time. But it’s kind of annoying if you try to modify your theme or else because it will not appear immediately. Need to clear the cache and disable it before begin tweaking. 🙂

    Reply
  3. Sumesh says:
    18 years ago

    Nice tips – but people need to be minimalist to take off JS widgets and plugins. I am, for one !

    You might also want to take a look at similar post I wrote some time back, and was stumbled heavily:
    Have you optimized your blog?

    You should add one more bit to #1 – use PHP compression for stylesheet(see my post for details).

    Reply
  4. Bush Mackel says:
    18 years ago

    Good tips. I can vibe with the whole complicated theme thing too. I think the mess of a theme I use has been slowing things up quite a bit. It doesn’t help either that I had a huge error that was coming up every time someone tried to access my site!

    That’s what I get for using a theme that includes a million php files. *rolling eyes*

    Reply
  5. Ashish Mohta says:
    18 years ago

    Wp-cache is a good plugin if you cant afford for hosting but I guess paying 10 to 20$ month is not a big deal and You should be able to host your site nicely.

    I had been in dig with 60000 hits in 24hrs with all scripts running including related post . My host never said anything to me on that.
    The inbuilt chache property I was not aware of that. I would find in wordpress codex to see more about it

    Reply
  6. ram says:
    18 years ago

    Thanks to Nirmal for this oppurtunuty and to all of you who have commented.
    @Sumesh
    I am not aware of this, i will check your post. Thanks for the info
    @Ashish
    You are lucky, when my site is on digg front page it is my mysql server is down for sometime, in that short time i removed K2 theme and implemented few tweaks and then it went well.

    Reply
  7. Ashish Mohta says:
    18 years ago

    @Ram: That was not luck but Because my host is powerful enough to keep up with those affects. I have no optimization done not even css clean up or even Javascript reduction.

    It depends largely on your host. I am on shared hosting and pay around 10$ a month thats it.

    Reply
  8. DJSays! says:
    18 years ago

    Interesting tips. I need to check them out in details and optimise my blog with it.

    Thanks for this post man! Keep it coming!

    Reply
  9. Ashish Mohta says:
    18 years ago

    I looked around for the inbuilt cache you mentioned there. It has some issues and are really not recommended for shared hosting. Here is a small discussion and using wordpress object cache

    # Mark Jaquith
    Posted 7/25/2006 at 4:40 pm | Permalink

    One of the biggest misconceptions is that the object cache invalidates the need for an output (HTML) cache. It doesn’t. The object cache saves a few MySQL queries and a few PHP cycles structuring the results of those queries, but it still leaves many queries for MySQL, and it still requires that WordPress be fully loaded for each hit. WP-Cache2 is still extremely useful for caching your HTML output.

    It should also be noted that not everyone will benefit from using the built-in disk-based object cache. I strongly suggest that you measure execution time and compare. If you have full access to your server (dedicated or virtual), I suggest you look into alternative storage engines for the object cache, such as the ones using Memcached or APC, as this data will return more quickly than from the disk cache.

    #2 David Chait

    I just wanted to chime in full agreement with Mark. Generally the object cache should NOT be used, unless you know your server setup and performance factors VERY well. It has even been proven detrimental (seriously in certain instances) on shared hosting setups. If you have a dedicated server, then the alternative memory cache engines become useful — but only if you aren’t already running a mysql query cache of a decent size… 😉

    #3 Dougal

    Mark and David,

    Thanks for pointing out more details on possible downsides to using the object cache. I didn’t want to sidetrack into that tangent in my article, partially to keep it short, and partially because I’m not familiar myself with just what factors might be involved. Personally, I am on a dedicated server (at least for all practical purposes), and the object cache works fine for me. But I also use WP-Cache2, MySQL query caching, and the APC PHP opcode cache.

    Reply
  10. ram says:
    18 years ago

    @Ashish
    Thanks for the info, i will check that

    Reply
  11. Jalaj says:
    18 years ago

    Nice tips… I particularly liked the two 1) using light themes 2) using wp-cache they surely will prevent server from overloaded.

    Reply
  12. Shankar Ganesh says:
    18 years ago

    Nice tips there, Ram. WP Cache plugin will be of great use.

    Reply
  13. Aseem Kishore says:
    18 years ago

    Excellent tips Ram! Keep up the good work. Also, you guys might want to check out the new WP-SuperCache plugin. I am using it and it’s made a good bit of difference.

    Aseem

    Reply
  14. Alfred says:
    18 years ago

    I had forgotten about Gzip compression. Thx for reminding me 🙂

    Reply
  15. clara says:
    18 years ago

    Thanks for the list. I need it at this point in time. Getting tired of waiting for things to load.

    Reply
  16. Fahad says:
    17 years ago

    Wow, nice tips. I will probably be implementing some of these tips in my blog soon. Bookmarked it for now! 😀

    Reply
  17. Yunus Yesilmen says:
    17 years ago

    Are u using all technique or which?

    Reply
  18. Tech Updates says:
    17 years ago

    Thats a superb guide on speeding the wordpress, but i guess 2.5x versions are already quick enough when compared to the older versions.

    Reply
  19. FedEx Blog says:
    16 years ago

    I has try some way to make wordpress speed up. But not bring good result to me. I don’t know why?
    http://ahblog.co.uk

    Reply
  20. john king says:
    16 years ago

    ya,thats true.i thank you for this info.best of luck from ireland

    Reply
  21. NOMAD says:
    16 years ago

    Oops, what is it?

    Reply
  22. amit sharma says:
    14 years ago

    you should also try Page Speed online by Google which provides suggestions to optimize web pages…must tool for all web masters..

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.



Latest Articles

How to Fix “Installation can’t continue” when trying to Update Nvidia Graphics Drivers

Download Windows 11 24H2 ISO (Offline Installer)

Can I Run Windows 11 without Activating

How to Use Snapchat on PC

How to Delete YouTube Search and Watch History on iPhone

How to Use Energy Saver on Windows 11

Techniqued- Technoloy, Review and Tutorials

© 2021 Techniqued - Technology, Tips, Tricks and Reviews

Navigate Site

  • About Us
  • Advertise with us
  • Contact Us
  • Copyright Policy
  • Disclaimer

Follow Us

No Result
View All Result
  • Android
  • Freewares
  • Tutorial
  • Windows 11
  • macOS

© 2021 Techniqued - Technology, Tips, Tricks and Reviews

This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.