Оптимизирайте Google XML Sitemap Generator Plug-in за намаляване на Server Load

към Avinash на 2009/10/31

реклама

Някъде назад и пише за Как да се намали натоварването на сървъра на Wordpress общо Хостинг и там се говори за XML Google Sitemap Generator приставка може да бъде един от главните виновници зад високи вашия сървър/ CPU натоварването на вашия споделен хостинг. В този пост аз ще говоря за някои неща, за същия плъгин и как да конфигурирате някои от неговите настройки, така че да използва по-малко проц.

Аз съм тук, поема, че вече имате инсталиран плъгин и има някои проблеми с вашия процесор / натоварването на сървъра за споделен хостинг. Трябва да се променят подразбиращите се опции onlky, когато знаете какво правите. Някои от промените в конфигурацията, както е описано по-долу със сигурност ще ви помогне да намалите натоварването на сървъра NA drun вашия бл.

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 ofbuild sitemap in backgroundis 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 nad 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 thats a big issue.

( 5 коментари… read them below or добавянето на един )

mang 2009/10/31 в 6:34 PM

Hi Avinash,

Thanks so much for this guideI'll make some changes to my configuration now.

I guess I will NOT use tip 1 because then I'd have to manually update the sitemap regularly.

Tip 2 sounds very usefulas only 1 post is added each day (or less), I will limit the posts to 2, and that should mean that the new post is included, but the whole sitemap isn't rebuilt.

*mang.

Отговарям

Avinash 2009/10/31 в 7:27 PM

Welcome mate. Glad I could help you.

Отговарям

falcon1986 2009/12/05 в 2:32 AM

Wow! Thanks for the tips. Just so happens I was doing someplugin cleanuptoday and was wondering what to do with this one. Have been getting some CPU throttling alerts, so I will see how it turns out. Thanks again!

Отговарям

mattbelcher 2009/12/24 в 2:36 PM

Cool thanks

Отговарям

Heeren Tanna 2010/02/05 в 11:47 AM

Hi avinash,

my blog is facing lot of server issues even after installing wp super cache ..

just saw xml site map plugin & it was taking 16mb+ load on memory ..applied setting show here :)

Thanks Avinash .. for this post ..

Отговарям

Оставете коментар

Предишна публикация:

Следващ пост: