Free Checking for Bloggers - Sign up in 5 Minutes! 自由をチェックするブロガー-お申込みは5分で
Powered by MaxBlogPress MaxBlogPressによって駆動

Wordpressのハック# 13 :交通校正ワードプレス| JTPRATTのブログ間違い
JTPrattのブログミス





Home » Wordpress Hack #13: Traffic Proofing Wordpress » Wordpressのハック# 13 :交通校正Wordpressの



Posted in: の投稿:

ブログ- setupのカテゴリーのイメージワードプレスのカテゴリーのイメージワードプレスのプラグインのカテゴリーのイメージ
1,020 views 1,020ビュー


Please note: This page was originally written in English.ご注意:このページは、もともと英語で書かれています。

The original post can be viewed元の投稿閲覧することができます hereここで .ている。

Please note: This page was originally written in English.

The text has been translated using an online service such as Google or Babelfish.

The original post can be viewed here.


Wordpress errors a problem? Wordpressのエラーが問題か? Too high of a load for your web host? あまりにも、ウェブのホストのための負荷が高いか? Worried about getting dugg, stumbled, or slashdotted? dugg取得について、つまずいたかslashdotted不安ですか? Learn now to “traffic proof” your Wordpress site or blog! 現在、 " トラフィックの証拠"あなたのWordpressのサイトやブログに、こちらをご覧ください!

This is installment #13 inこの# 13で割賦です 30 Wordpress Hacks in 30 Days 30 WordpressのHacksは30日 !

If you’ve blogging for any length of time, or if you own multiple blogs at one time or another you’re likely to have a problem with “too much traffic”.もし時間の任意の長さ、または複数のブログを自身のブログをした場合、または別のあなたも一度に多くのトラフィックを"との問題を抱えているようだ" 。 In this hacks series I’ve shown you how to keep your database maintained, but that doesn’t really matter if your starting to get 20,000 unique views per day or more.私はあなたのデータベースを維持する方法を、見せてきたが、このハッキングシリーズでは大した問題ではない場合、 1日あたり20000以上固有のビューを取得し始めている。 I’ve found over the that’s about the tipping point for most shared web hosts, the point at which your site reaches more than 250,000 “requests” per day or more and it starts maxing out the resources alloted to your domain.私はほとんどのWebホストは、あなたのサイトでは" 1日以上250000以上"の要求に達すると、資源allotedお客様のドメインに最高を開始するポイントを共有するためにそれについての転換点を発見しました。 Every single time someone visits your Wordpress site, it makes “calls” to the database server to retrieve the posts, and the pages, and the categories, and header, and the footer, and your archives, and on and on and on.一つ一つの時間をあなたのWordpressのサイトにアクセスするには、投稿を取得すると、ページ、およびカテゴリは、データベースサーバーへの"呼び出し"を、ヘッダー、フッター、およびアーカイブ、としている。 Get the picture?画像を取得するか? One page load could mean a dozen+ “calls” to the database. 1つのページの読み込みを意味する可能性がある1ダース+ " "は、データベースへの呼び出し。 That’s why 20,000 “page views” could mean “250,000 requests” for your site.だからこそ20000ページの"ビュー" " "あなたのサイトへの要求を意味する可能性がある250000 。

I actually got an email today after dinner about one of my sites having “very high loads” on the server, and that today requests were way over 300,000 and it was the highest traffic day in a very long time with 22,000+ pageviews.私は実際には電子メール、今日は私のサイト" "は、サーバー上で非常に高い負荷を持つの約夕食後となったが、今日の向こう側300000リクエストされ、最高のトラフィックは1日22000と非常に長い時間をしていた+ページビュー。 I knew it was time to enable some sort of caching on this site.私はこのサイトにある種のキャッシュを有効にするには時間が分かっていた。 The WP-Cache plugin has been around awhile (4-5 years), and I’ve used it before, but the main problem I’ve always had is you have to disable everything on your site that is either interactive or counts.は、 WPを採用、キャッシュプラグイン) 、私の前に、それを利用しているされて約しばらく( 4-5年している私はいつもてきた主要な問題をあなたのサイトにはすべて無効にしているかのいずれかのインタラクティブカウントしています。 This would include wp-postview (page and post counts), wp-postrating (live post ratings), etc. Even comments are a slight issue, since once they are approved it can be up to an hour before they appear on the cached pages.これは、 ) 、以来一度も前に、キャッシュされたページに表示されるが、 1時間になることなどが承認されても、コメントはわずかに問題は、 WPを採用- postrating (ライブ投稿の評価(ページと投稿数) WPを採用、投稿が含まれる。 “Normally” all javascript things, like adsense ads or affiliate ads work just fine, since they are called live on the cached pages the same as if they came from the Wordpress database.以来、彼らとしてはキャッシュされたページは、データベースから来た場合は、ワードプレスと同じに住んでいると呼ばれているAdSenseの広告やアフィリエイト広告などの"通常"すべてのJavaScriptのものは、罰金、働いています。

WP-Cache hasn’t been updated in a few years from what I saw on their web site, but that’s ok because “ WPを採用、キャッシュは数年後に私は彼らのWebサイトで何を見てから更新されていないが、オクラホマのため" WP-Super Cache WPを採用、スーパーキャッシュ ” has come along. "に沿っている。 It’s bigger and better than WP-Cache because the PHP engine is never called and it’s much quicker.それよりも大きいとWPを採用、キャッシュは、 PHPエンジンと呼ばれることはありませんので、かなり速い。 Now, for those of you new to Wordpress that might not be so technical - what is a “cache?” A cache is when you have common pages stored so they don’t have to be fetched from a database every time if nothing has been updated.現在、これらのWordpressのあなたのように新しい技術がないかもしれない-何を"キャッシュは何ですか? "キャッシュが何もされているのでときには、データベースから取得されるたびに格納する必要はありませんが、よく利用するページです更新しました。 Your web brower has a “cache” and it uses the copy of web pages on your PC if nothing has changed on the web version.ウェブbrowerは、 "キャッシュを備えています"とはあなたのPC上のWebページのコピーが何も変更されているバージョンには、ウェブを使っています。 The Wordpress wp-super-cache plugin speeds up pages on your blog in the same way.ワードプレスWPを採用、同じようにあなたのブログのページをスーパーキャッシュのプラグインを高速化します。

I happenned along a post a few weeks back on OminNoggin - “私は後数週間背中OminNogginに沿ってhappenned -" Make Popularity Contest Work with WP Super Cache人気コンテスト作品WPを採用するスーパーキャッシュで “. " 。 I thought this as really cool, because he solved the problem by making the counters and statistics work using javascript instead of PHP.彼のカウンタと統計はJavaScriptを使用することによってではなく、 PHPの作品は私はこの問題を解決したとして、本当にクールな、と思った。 I asked him in the comments if he could do the same to make Lester Chan’sする場合は、コメント欄でも同じことでした私は彼に尋ねたレスターチャンの WP-Postviews work on Javascript counts as all and he did WPを採用- PostviewsすべてのJavascriptをカウントに取り組むとした ! Note - his fix only works on Wordpress 2.5, so first I deactivated the WP-PostViews plugin, and then I upgraded to Wordpress 2.5.注-ワードプレス2 .5の修正のみで、私- P ostViewsプラグインは、ワードプレス2 .5にアップグレードして私は、最初の作品が無効にW Pを採用。 The I installed WP-Super Cache, and last I upgraded to the JavaScript version of WP-PostViews - and everything seemed to work fine!は、 I 、 WPを採用、スーパーキャッシュのインストールの最後に私はWPを採用するJavaScriptのバージョンPostViews -アップグレードとすべてがうまくいくように見えた!

Let me say, “Your Mileage May Vary”!私は、 "変化"お客様のマイル5月としましょう! The site I upgraded (that is now working fine with WP-Supercache AND JavaScript WP-PostViews) only has about a dozen Wordpress plugins.私はアップグレードのサイト(つまりWPを採用すると正常に機能しているSupercacheとJavaScript WPを採用- PostViews )のみ約12ワードプレスプラグインしている。 Everything seems to co-exist there just fine so far and the pages load much, much faster.すべてのようだコロラドにあるだけでは、これまでに多くのページを読み込むと、はるかに高速な微細な存在している。 I attempted to do the same install tonight here on jtpratt.com and it didn’t go so well.私は今夜ここにjtpratt.comにインストールしても同じことを試みたがうまく行かなかった。 I did receive some 500 errors, and the homepage didn’t seem to get any post counts for the updated JavaScript WP-PostViews.私は、そのホームページのすべてのポストを得るように見えるしていない一部の500エラーを受信した更新のJavaScriptのカウント- PostViews WPを採用。 This blog is quite the exception since I use almst 4 dozen plugins, and quite a few of them are interactive - like SezWho, which enhances my comments.このブログはかなりの例外以来、私almst 4ダースのプラグインは、非常にそのいくつかを使用しているSezWhoは、私のコメントを強化する-などのインタラクティブなされています。 I disabled WP-Super-Cache here and backed out all the changes it made (to my .htaccess file) and deleted all it’s cached pages and deleted the plugin.私はWPを採用、スーパーのキャッシュを無効にここを支えてきたすべての変更(私の。 htaccessファイルに) 、すべてのページがキャッシュのプラグインを削除し、削除しました。 I even had to click “update” on my “Options -> Permalinks” page to get the site to act normally again.私もクリックして私の"オプションの"更新" ->パーマリンク"のページが正常に再び行為にサイトを入手しなければならなかった。 I think most “normal” sites (that don’t have all the crazy hacks I have here) will do just fine traffic proofing with WP-Super-Cache.私が最も" "通常のサイトと思う(つまり) - WPを採用スーパーキャッシュとトラフィックの校正を行うだけで罰金がここにあるすべてのクレイジーハッキングされていません。 If you use Popularity Contest or WP-PostViews use the updated plugins I linked to.人気コンテストやWPを採用する場合は僕にリンク- PostViews使用して、更新済みのプラグインを使用しています。 If you have other problems with WP-Super-Cache and a plugin -スーパーキャッシュの場合、プラグインWPを採用、他の問題がある- maybe Thaya Kareesonたぶんタイア川Kareeson would be kind enough to help with this as well.となるような本にも十分に役立ちます。

As always - if you have problems, questions, or something to add - please comment now!いつものように-問題が発生する場合、ご質問、または何かを追加する必要がある-今すぐコメントしてください!


Tags:タグ:

One Response to “Wordpress Hack #13: Traffic Proofing Wordpress” 1つの応答への" Wordpressのハック# 13 :交通校正ワードプレス"

  1. Thaya Kareeson タイア川Kareeson Has the following to say...は、次のことにしている...

    Please feel free to let me know if you do have problems with your plugins while WP-Super-Cache is enabled. WPを採用する場合は、スーパーのキャッシュが有効になってあなたのプラグインに問題があるか教えてお気軽に無料で知っている。 I’ll see what I can do to make a mod to it and submit it to the original developers.私はそれには、流行の最先端を行くに何ができるかが表示されますと、オリジナルの開発者に提出する。

    Thaya Kareesons last blog post..タイア川Kareesons最後のブログの記事.. Creating a Staging WordPress Blog for Testingテスト用のステージングワードプレスのブログを作成

Question or Comment??質問やコメントですか? Spill it Now...流出は今...

飛越喜びのコメント!

We Reward Comments!我々のコメントを報酬!


We dofollow links, and get your latest blog post as a byline under every new comment from the "CommentLuv" plugin!私たちはdofollowリンク、および" CommentLuv "プラグインからのすべて新しいコメントの下に署名、お客様の最新のブログの記事になる! Top commenters for every month are listed on every page of this site in a sidebar widget linked back to your URL!毎月のトップコメントは、サイドバーウィジェットこのサイトの各ページをURLにバックリンクに記載されている! We would like to reward you for becoming part of our community!我々のコミュニティーの一員となるために報酬をしたいと思います! Your comment is valuable not only to us, but also all the other readers of this blog!あなたのコメントを私たちだけが、このブログの価値がある他のすべての読者にも!


Click to add smilies to your post! クリックして投稿するのスマイルを追加する! == [ ]^ = (= ( (= ( |= )でr= | 8= 0= ) 〜= 00= (= ; ;= ) ]= ; ; ;