KUSANAGI はWordPressをはじめとするCMSを簡単に実行できるように設計、チューニングされた仮想マシンで、 超高速のスピードと妥協のないセキュリティを実現します。 ユーザーの皆さまへ重要なお知らせ CentOS 7 をベースとしている KUSANAGI 8 は、CentOS 7 が2024年6月30日をもってコミュニティによるサポートが終了することから、 2024年6月30日をもって KUSANAGI 8 の更新を終了します。 また、CentOS Stream 8 をベースとしている KUSANAGI 9 on CentOS Stream 8 は、CentOS Stream 8 が2024年5月31日をもってコミュニティによるサポートが終了することから、 2024年5月31日をもって KUSANAGI 9 on CentOS Stream 8 の更新を終了します。 KUSAN
WordPress jQuery読み込み位置最適化による表示速度高速化 jQueryの読み込み位置の工夫がメインですが、CDNの活用とjQuery本体の軽量化に関する工夫もあわせて紹介します。 CDN上のjQueryライブラリの活用 WordPressには、元々jQueryライブラリがバンドルされており、それが自動的に読み込まれるようになっています。このjQueryライブラリは、WordPressをインストールしたサーバから読み込まれます。 この代わりに、高速なCDN上に配置されたjQueryライブラリを読み込むようにします。以下がそのコードです。利用中のWordPressテーマのfunctions.phpに追記します。 //管理画面では内蔵のjQueryサイト側ではGoogle AJAX Libraries API function load_cdn() { if ( !is_admin
データに名前と有効期限を設定して、データベース内に保存する関数。 Transients API は Options API に似てるけども、有効期限という機能を使うことで wp_options テーブルをデータ保存用に使うことを可能にします。 これよこれ、求めてたのは! Transients APIの使い方 調子のって使い方とか書いてますが初めて使いますよ(´∀`) Transients APIのデータ保存先はデータベースの options 関数 set_transient( $transient, $value, $expiration ); でデータをセット。 $transient…キャッシュデータのユニークID。String型。 $value…保存するデータ。変数でも配列でもオブジェクトでもいける。 $expiration…データを更新するまでの有効期限(秒)。デフォルトは0。int
僕はずっとWordPressの表示を速くするためにずっと、 「CloudFlare」を利用していました。 CloudFlareとは? Webサーバー上のコンテンツの中でキャッシュが出来るファイル(画像,CSS等)をCloudFlare上のサーバーにキャッシュする事でWebサーバーのレスポンスを改善する、CDN(コンテンツデリバリネットワーク)サービスです。 凄くザックリ言うと、画像を軽く表示するよ!ってサービスですね。 http://jp.cloudflare.com/ つい先日、急にサイトが表示されない不具合に見舞われまして、 「うわ、参ったなぁ。」とアレコレしていると、 優しいフォロワーさんが「CloudFlareがエラーになってますよ。」と。 We have re-routed DNS traffic away from Hong Kong and Tokyo. Customers
この投稿は 12年半 前に公開されました。いまではもう無効になった内容を含んでいるかもしれないことをご了承ください。 ここひと月ほどお仕事が忙しくて更新できなかったのですが、やっと一段落しました。その際、WordPressでわりと大きめのデータを扱うことになったので、備忘録としてまとめます。今月から行われる破滅派リニューアルにも役立つかなーと。 データの規模 今回扱ったデータは全国のある施設を取り扱いました。不動産サイトのようなものをイメージしてください。カテゴリーとタグはそれぞれ数十件と常識的な範囲だったのですが、地理情報のタクソノミーが全国の都道府県〜市区町村〜町域のレベルまで。ざっとまとめるとこんな感じです。 投稿……200,000件 カテゴリー……70件 タグ……20件 カスタムタクソノミー(address)……120,000件 ボトルネックになった部分 デフォルトの状態で使う分に
この投稿は 10年半 前に公開されました。いまではもう無効になった内容を含んでいるかもしれないことをご了承ください。 生活に終われ、疲弊しきった不肖高橋です。海風薫る千葉の田舎町から大都会東京のコンクリートジャングルへと一人ゲルマン民族大移動を毎日繰り返した結果、加齢臭が強くなってきました。 昔は総武線でビール飲んでいるオジサンを見るたびに汚いものを見るような視線を投げていたのですが、いまその視線がブーメランのように私を射抜いていきます。 さて、「電車でビール飲んでる」と無意味な嘘をついたところで、おもむろに全文検索について。 以前WordPressで大規模データを扱う場合のTipsという記事でも触れたのですが、WordPressの検索はLIKE検索なので、記事が数千件を超えたあたりから少しずつ遅くなってきます。今回はその解決策として日本語全文検索をやってみます。 ぱくたそより アプローチ
WordPressを利用していて気になるのがサイトの重さ。いろいろなプラグインを入れることもあり、サイトのレスポンスが悪くなりがちです。そのため、Wordpressを利用する上でサイト高速化はひとつのテーマ。Mo cache、W3 Total Cache、Head Cleanerなどのプラグインの導入と同様に、CloudFlare(CDN)の利用もサイトの高速化を促します。CloudFlareは無料のCDNサービス。ぜひ導入を検討してください。 WordPressを高速化する無料のCDN CloudFlare CloudFlareはjavascriptやCSSなどを世界中のサーバーにキャッシュ。さらに自動的にウェブページを最適化してくれるので、サイト訪問時のロード時間をぐっと短縮してくれます。CloudFlareはプラットフォームに関係なく、サイト、ドメインを持っている人ならどなたでも無料
FINDJOB! 終了のお知らせ 2023年9月29日にFINDJOB!を終了いたしました。 これまでFINDJOB!をご利用いただいた企業様、求職者様、様々なご関係者様。 大変長らくFINDJOB!をご愛顧いただき、誠にありがとうございました。 IT/Web系の仕事や求人がまだ広く普及していない頃にFind Job!をリリースしてから 約26年間、多くの方々に支えていただき、運営を続けてまいりました。 転職成功のお声、採用成功のお声など、嬉しい言葉もたくさんいただきました。 またFINDJOB!経由で入社された方が人事担当になり、 FINDJOB!を通じて、新たな人材に出会うことができたなど、 たくさんのご縁をつくることができたのではないかと思っております。 2023年9月29日をもって、FINDJOB!はその歴史の幕を下ろすこととなりましたが、 今後も、IT/Web業界やクリエイティブ
先日、Yahoo! ニュースからリンクして頂いたのを切っ掛けに、大量アクセスがありました。いつもは後で気がつくんですけど、たまたま Google Analytics のリアルタイム画面を開いたらその直前にアクセスが爆発していました。通称「Yahoo!爆弾」ってヤツですね。 【追記】現在はコアウェブバイタル対応を完璧にするため、もっとモダンな設定にしています。 iPhone 研究室は WordPress で運営していますが、全く動じないでこの大量アクセスをこなしてくれました。 11時半頃にリンクがあったみたいなんですけど、世の中がお昼休みに入った12時頃から更にアクセスが倍増しました。 だいたい、11時半から12時までの30分で2万ページビュー(PV)、12時から13時までの1時間だけで5万PV位の大量アクセスになりました。 新型iPhoneに関する噂という記事からのリンクだったので、興味を
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く