このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Nginx Cache

説明

コンテンツが変更されたときに Nginx キャッシュ (FastCGI、プロキシ、uWSGI) を自動的に削除するプラグインです。管理画面内で手動で削除することもできます。

動作要件:

  • ファイルシステム API が認証情報の要求なしに機能していること。
  • Nginx と PHP が同一ユーザーで実行されていること。もしくは PHP の実行ユーザーが Nginx のキャッシュパスに書き込み権限を持っていること。

スクリーンショット

  • プラグイン設定画面

インストール

インストール手順の詳細については、「プラグインの管理」を参照してください。

  1. プラグインをインストールし、有効化します。
  2. ツール -> Nginx をクリックし、プラグイン設定画面の「キャッシュゾーンパス」欄にパスを記述します。
  3. 設定完了です。

評価

2022年1月31日
I have tried almost every cache plugin for WordPress during 10 years, many of them are very lightweight (which I prefer) such as WP Super Cache, Fastest Cache, Comet Cache, Cache Enabler... they are all great and work well. (Other cache plugins like WP Rocket, Swift Performance, W3 Total Cache, Litespeed LS cache, Nitropack are too bloated imo.) After some years I learned that actually if you have Nginx servers, and enable the FastCGI cache... you don't need to use any "old-fashioned" cache plugins! Immediately I was addicted to this setup... launch $5 LEMP cloud server and enable FastCGI cache in my Nginx config, and fantastic performance with no more worrying about bloated plugins and errors with cache plugins. The problem? How to clear my Nginx cache? I was deleting the cache folder in my SSH window every time and super annoying. I discovered the EasyEngine plugin called Nginx Helper, it was fantastic! However, some of the settings did not require in my situation so I looked more. After that I finally found Mr. Till's Nginx Cache plugin and very lightweight... This plugin is what I use now, very easy and no bloat. I can use this plugin for all LEMP script like WordOps, SlickStack, and Webinoly and everything in my entire server is free open source software. Great work! And your Redis Cache plugin too, a perfect match.
2020年8月13日
For those who do not know, it is necessary to enter linux to empty the cache with a command. This plugin, which looks silly, saves a lot of time. Thank you!
2020年8月12日
Can't believe my eyes! I have been using SSH to flush my cache manually each time I update anything on my site, tried several plugins, tried to recompile NGINX a bunch of times as well, no success (and unable to afford NGINX Plus) for almost a year! Installed your plugin today, August 12, 2020, on the latest Wordpress 5.5 and it works!!!!!!!! Thank you so very much 🤩
21件のレビューをすべて表示

貢献者と開発者

Nginx Cache はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Nginx Cache” は4ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Nginx Cache” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.0.5

  • nginx_cache_zone_purged アクションの追加

1.0.4

  • 翻訳可能な文字列の改善
  • 自動でキャッシュクリアする際のバグを修正
  • ディレクトリを検証する際のバグを修正

1.0.3

  • キャッシュディレクトリがない場合に作成するよう改善
  • キャッシュクリア後、キャッシュディレクトリを再作成するように仕様を変更
  • キャッシュクリアのトリガーから投稿タイプを除外できるように変更

1.0.2

  • WordPress 4.6 におけるファイルシステム認証情報の問題に対応

1.0.1

  • ファイルシステム認証情報に関するテストを改善

1.0

  • プラグインをリリース