Image
Image

Nginx Cache

Описание

Очищайте кеш Nginx (FastCGI, Proxy, uWSGI) автоматически при изменении контента или вручную из админ-панели WordPress.

Требования:

  • API файловой системы должен работать без запроса учетных данных.
  • Nginx и PHP должны запускаться от имени одного и того же пользователя, либо пользователь PHP должен иметь права на запись в директорию кеша Nginx.

Скриншоты

  • Image
    Страница настроек плагина.

Установка

Для получения подробных инструкций по установке, пожалуйста, ознакомьтесь со стандартной процедурой установки плагинов WordPress.

  1. Установить и активировать плагин.
  2. Укажите «Cache Zone Path» в Инструменты -> Nginx.
  3. Сделано

Отзывы

Image
07.10.2024
Another outstanding plugin from same developer who created Redis Object Cache Pro! The plugin is lightweight and effective for purging nginx cache, teaming this plugin with «syncthing» allows us to clear our caches across multiple servers in the pool. It’s part of our core.
Image
07.05.2024
Best plugin I’ve ever come across. Does the job, for free, asks nothing in return, and is insanely minimal. Till is a legend.
Image
31.01.2022
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.
Посмотреть все 23 отзыва

Участники и разработчики

«Nginx Cache» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

«Nginx Cache» переведён на 6 языков. Благодарим переводчиков за их работу.

Перевести «Nginx Cache» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

1.0.7

  • Добавлена поддержка более новых версий Nginx в validate_dirlist()

1.0.6

  • Исправлена редкая проблема в validate_dirlist()

1.0.5

  • Добавлено действие nginx_cache_zone_purged

1.0.4

  • Улучшены строки для перевода
  • Исправлена ошибка автоматической очистки
  • Исправлена проблема при проверке папки

1.0.3

  • Создание директории кеша, если она не существует
  • Восстановление директории кеша после очистки
  • Разрешено исключать типы постов из автоматической очистки кеша

1.0.2

  • Исправлен баг версии 4.6 с авторизацией файловой системы

1.0.1

  • Оптимизировано тестирование данных файловой системы

1.0

  • Первый релиз