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

Smart Varnish

説明

Smart Varnish A simple plugin to bypass varnish caching for logged in users and serve uncached content.

Useful for websites that don’t want to serve cached content for logged in users and at the same time want to serve cached content to guests.

NOTE: This plugin requires knowledge of varnish caching and server administration, it will not work out of the box. We cannot guarantee it will work in every scenario and recommend usage with discretion.

Please follow the tutorial here.

インストール

  1. Install Smart Varnish either via the WordPress.org plugin directory, or by uploading the files to your server.
  2. Activate Smart Varnish through the ‘Plugins’ menu in WordPress.
  3. There are no settings. Make sure that you edit your varnish configurations files and restart varnish server.

Add the following lines of code to vcl_recv in default VCL configuration file.

if( req.request == "POST" || req.http.cookie ~ "smart_varnish_bypass" )
  {
    return( pass );
  }

Warning: If you don’t have the expertise to edit the varnish configurations its better to hire some help as you could damage your server irreparably.

FAQ

Is there a demo ?

No

Will it work out of the box?

No, you need to add couple of lines of code to your varnish cache configuration files to make it work, check installation procedure.

Can we help in installing the plugin on your server?

Yes we can! Get in touch

Does it work for varnish 3.0?

Works.

評価

このプラグインにはレビューがありません。

貢献者と開発者

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

貢献者

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

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

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

変更履歴

  • Initial release