Provides some functions of controlling Nginx proxy server cache.
This plugin provides some functions of controlling Nginx proxy server cache.
Flush all proxy caches.
wp nginx flush
Show list of all proxy caches.
wp nginx list –format=csv
wp nginx list --format=json
See help.
wp help nginx
This plug-in is not guaranteed though the user of WordPress can freely use this plug-in free of charge regardless of the purpose.
The author must acknowledge the thing that the operation guarantee and the support in this plug-in use are not done at all beforehand.
wp-content/plugins
.Example of Nginx settings:
Allow X-ACCEL-EXPIRES for fastcgi.
location ~ \.php$ { include /etc/nginx/fastcgi_params; fastcgi_pass unix:/tmp/php-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $vhost_root/$fastcgi_script_name; fastcgi_pass_header "X-Accel-Redirect"; fastcgi_pass_header "X-Accel-Expires"; }
Setting cache directory for reverse proxy.
proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=czone:4m max_size=50m inactive=120m;
Setting the key for the reverse cache proxy.
proxy_cache_key "$scheme://$host$request_uri"
nginxchampuru_get_reverse_proxy_key
hook.https://github.com/megumiteam/nginx-cache-controller/compare/3.0.0…3.1.0
https://github.com/megumiteam/nginx-cache-controller/compare/2.9.0…3.0.0
https://github.com/megumiteam/nginx-cache-controller/compare/2.8.0…2.9.0
https://github.com/megumiteam/nginx-cache-controller/compare/2.7.0…2.8.0
https://github.com/megumiteam/nginx-cache-controller/compare/2.6.0…2.7.0
https://github.com/megumiteam/nginx-cache-controller/compare/2.5.0…2.6.0
https://github.com/megumiteam/nginx-cache-controller/compare/2.4.0…2.5.0
https://github.com/megumiteam/nginx-cache-controller/compare/2.3.0…2.4.0
https://github.com/megumiteam/nginx-cache-controller/compare/2.2.1…2.3.0
https://github.com/megumiteam/nginx-cache-controller/compare/2.1.0…2.2.0