
內容簡介
NGINX Cache Optimizer 的主要功能是在您的內容更新時清除 NGINX 快取,例如當您創建新文章、文章被評論等等。此外,如果您的伺服器上有運行中的 Memcached 服務,該外掛程式還允許您輕鬆配置和啟用 WordPress 以使用它。
需求
為了正確運作,此外掛程式要求您的伺服器滿足以下標準:
NGINX 配置以緩存動態內容
PHP 腳本執行的使用者對於 NGINX 快取資料夾具有寫入權限
配置
動態快取設置
nginx 的快取目錄 –
動態快取開啟/關閉 –
自動清除快取開啟/關閉 –
清除快取 – 手動從 NGINX 快取中清除所有快取的資料
從動態快取中排除的網址
此欄位允許您從快取中排除網址。這意味著,如果您需要某些部分完全動態,您需要將它們添加到此清單中。輸入您要排除的網址的最後一部分,例如如果您輸入 "url",那麼 "/path/to/url/" 將被排除,但 "/path/to/" 和 "/path/to/url/else/" 不會被排除。
Memcached 設置
Memcached 實例 IP 位址 – Memcached 服務的 IP 位址。預設情況下,它設置為 127.0.0.1。
Memcached 實例連接埠 – Memcached 正在運行的埠。預設情況下,memcached 使用埠: 11211
啟用 Memcached – 這是主要的 Memcached 支援開關。一旦您輸入您的 Memcached 服務器 IP 位址和連接埠,您需要將此選項設置為 "ON" 以實際啟用它。
外掛標籤
開發者團隊
原文外掛簡介
The main functionality of NGINX Cache Optimizer is to purge your NGINX cache whenever your content updates. For example, when you create a new post, someone comments your articles, etc. In addition to that, if you have a working Memcached service on your server, the plugin will allow you to easily configure and enable WordPress to use it.
Requirements
In order to work correctly, this plugin requires that your server meets the following criteria:
NGINX configured to cache dynamic content
Writable permissions for the user executing PHP scripts on the NGINX cache folder
Configuration
Dynamic Cache Settings
nginx Cache Directory –
Dynamic Cache ON/OFF –
AutoFlush Cache ON/OFF –
Purge Cache – Manually purge all cached data from the NGINX cache
Exclude URLs From Dynamic Caching
This field allows you to exclude URLs from the cache. This means that if you need certain parts of your site to be completely dynamic, you need to add them into this list. Type in the last part of the URL that you want to be excluded. For example, if you type in ‘url’, then ‘/path/to/url/’ will be excluded but ‘/path/to/’ and ‘/path/to/url/else/’ won’t.
Memcached Settings
Memcached Instance IP Address – The IP address of the Memcached service. By default, it’s set to 127.0.0.1.
Memcached Instance Port – The port on which Memcached is running. By default, memcached uses port: 11211
Enable Memcached – this is the main Memcached support switch. Once you enter your Memcached server IP address and port, you need to actually enable it by setting this option to ON.
