Jumat, April 06, 2012

Optimise Google XML sitemap Generator Plugin to reduce Server Load


Sometime back i wrote about How to reduce WordPress server load on Shared Hosting and there i talked about Google XML sitemap Generator plugin can be one of the main culprits behind your High server/ CPU load on your shared hosting. In this post i will talk about few things about the same plugin and how to configure some of its settings so that it uses less CPU or memory on shared hosting.
I am assuming here that you already have installed the plugin and have some issues with your CPU/Server load on shared hosting. You should change the default options only when you know what you are doing. Some of the configuration changes as described below surely will help you reduce your server load and run your blog smoothly.

1. BASIC OPTIONS CONFIGURATION

Under Basic options, you can untick the option of  ” Rebuild sitemap if you change the content of the blog “. This small change in setting will help you reduce server load as the sitemap wont be generated everytime you write a new post. You can generate sitemap manually if you have issues with your server.
google xml sitemap reduce server load

2. ADVANCE OPTIONS SETTINGS

You can limit the number of posts to be included in sitemap to 5 or 10. It will help you reduce server load with no problems with your sitemap as it will be uptodate.
google xml sitemap1The reason as talked about in the plugin FAQ too :
If you have problems with the maximum execution time or memory limit you can limit the number of posts which will be included in the sitemap. Newer posts are included first so your sitemap will stay up-to-date.

3. BUILD SITEMAP IN BACKGROUND.

Make sure that the option of ” build sitemap in background” is ticked ON. Its a must if you are on a shared server.
google xml sitemap2
Hope these settings will help you reduce the server load and make your blog run smooth.  If you applied all the settings as described above, then may be you will need to build sitemaps manually each time by navigating to Plugin settings page but i don’t think that’s a big issue.

0 komentar:

Posting Komentar

 
Design by Automotive | Edited by martcomp.blogspot.com