You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+74-13
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
# Nginx Helper #
2
2
[](https://www.repostatus.org/#active)
@@ -88,7 +87,6 @@ As long as you don't purge the page (or make changes that purge it from the cach
88
87
89
88
The rest shows you the database queries and time saved on loading this page. (This would have been the additional resource load, if you weren't using fast-cgi-cache.)
90
89
91
-
92
90
**Q. I need to flush a cached page immediately! How do I do that?**
93
91
94
92
Nginx helper plugin handles usual scenarios, when a page in the cache will need purging. For example, when a post is edited or a comment is approved on a post.
@@ -101,22 +99,20 @@ To purge a page immediately, follow these instructions:
101
99
* Just open this in a browser and the page will be purged instantly.
102
100
* Needless to say, this won't work, if you have a page or taxonomy called 'purge'.
103
101
104
-
105
102
### FAQ - Nginx Redis Cache ###
106
103
107
104
**Q. Can I override the redis hostname, port and prefix?**
108
105
109
106
Yes, you can force override the redis hostname, port or prefix by defining constant in wp-config.php. For example:
* Add action `rt_nginx_helper_after_purge_all` to fire after the entire cache has been purged whatever caching type is used. [#232](https://github.com/rtCamp/nginx-helper/pull/232) - by [Julien-prrs](https://github.com/Julien-prrs)
145
+
* Fix issue where settings not saved because the button's value localized (for any language). [#236](https://github.com/rtCamp/nginx-helper/pull/236) - by [umeshnevase](https://github.com/umeshnevase)
146
+
* Fix issue where "Custom Purge URL" option displays previous value. [#240](https://github.com/rtCamp/nginx-helper/issues/240), [#241](https://github.com/rtCamp/nginx-helper/pull/241) - by [KirillGritcenko](https://github.com/KirillGritcenko)
147
+
* Tested with WordPress 5.4
148
+
145
149
### 2.2.1 ###
150
+
146
151
* Fix timeout issue on FastCGI cache purge. [#229](https://github.com/rtCamp/nginx-helper/pull/229) - by [chandrapatel](https://github.com/chandrapatel), [thrijith](https://github.com/thrijith)
147
152
148
153
### 2.2.0 ###
154
+
149
155
* Add filter `rt_nginx_helper_fastcgi_purge_suffix` to change purge suffix for FastCGI cache. [#141](https://github.com/rtCamp/nginx-helper/pull/141) - by [stayallive](https://github.com/stayallive)
150
156
* Add filter `rt_nginx_helper_fastcgi_purge_url_base` to change purge URL base for FastCGI cache. [#141](https://github.com/rtCamp/nginx-helper/pull/141) - by [stayallive](https://github.com/stayallive)
151
157
* Update our code to be in line with WordPress Coding standards in various places. [#209](https://github.com/rtCamp/nginx-helper/pull/209), [#225](https://github.com/rtCamp/nginx-helper/pull/225) - by [abhijitrakas](https://github.com/abhijitrakas), [chandrapatel](https://github.com/chandrapatel)
152
158
* Check and verify purging is enabled before purging cache. [#168](https://github.com/rtCamp/nginx-helper/pull/168) - by [jaredwsmith](https://github.com/jaredwsmith)
153
-
* Hide Purge Cache button in admin bar when purge is disabled. [#218](https://github.com/rtCamp/nginx-helper/issues/218), [#219](https://github.com/rtCamp/nginx-helper/pull/219) - by [mbautista](https://github.com/mbautista), [chandrapatel](https://github.com/mbautista)
159
+
* Hide Purge Cache button in admin bar when purge is disabled. [#218](https://github.com/rtCamp/nginx-helper/issues/218), [#219](https://github.com/rtCamp/nginx-helper/pull/219) - by [mbautista](https://github.com/mbautista), [chandrapatel](https://github.com/chandrapatel)
154
160
* Don't add Nginx Timestamp on WordPress login page. [#204](https://github.com/rtCamp/nginx-helper/issues/204), [#220](https://github.com/rtCamp/nginx-helper/pull/220) - by [peixotorms](https://github.com/peixotorms), [chandrapatel](https://github.com/chandrapatel)
155
161
156
162
### 2.1.0 ###
163
+
157
164
* Add wildcard cache key deletion for device type cache purge. [#203](https://github.com/rtCamp/nginx-helper/pull/203) - by [pradeep910](https://github.com/pradeep910)
158
165
* Add filter `rt_nginx_helper_purge_url` to filter the URL to be purged. [#182](https://github.com/rtCamp/nginx-helper/pull/182) - by [todeveni](https://github.com/todeveni)
159
166
* Add filter `rt_nginx_helper_purge_cached_file` to filter the cached file name. [#182](https://github.com/rtCamp/nginx-helper/pull/182) - by [todeveni](https://github.com/todeveni)
@@ -168,64 +175,78 @@ Please post your problem in [our free support forum](http://community.rtcamp.com
168
175
* Handle filesize exception while truncating nginx.log file. [#206](https://github.com/rtCamp/nginx-helper/pull/206) - by [peterjanes](https://github.com/peterjanes)
169
176
170
177
### 2.0.3 ###
178
+
171
179
* Update article link for fastcgi cache purge. [#187](https://github.com/rtCamp/nginx-helper/pull/187) - by [gagan0123](https://github.com/gagan0123)
172
180
* Fix map generation issue on `SUBDOMAIN_INSTALL`. [#189](https://github.com/rtCamp/nginx-helper/pull/189) - by [ChrisHardie](https://github.com/ChrisHardie)
173
181
* Add GitHub Action for plugin release. [#194](https://github.com/rtCamp/nginx-helper/pull/194) - by [sudhir-yadav](https://github.com/sudhir-yadav)
174
182
175
183
### 2.0.2 ###
184
+
176
185
* Fix undefined error when we install the plugin for the first time and if Redis is not available. [#162](https://github.com/rtCamp/nginx-helper/pull/162) - by [Joel-James](https://github.com/Joel-James)
177
186
* Remove extra spacing for nginx map section. [#169](https://github.com/rtCamp/nginx-helper/pull/169) - by [ShashwatMittal](https://github.com/ShashwatMittal)
178
187
* Purge Cache menu in front-end admibar now purge current page. [#173](https://github.com/rtCamp/nginx-helper/pull/173) - by [imranhsayed](https://github.com/imranhsayed)
179
188
* Fix issue where cache is not cleared when page is swiched from publish to draft. [#174](https://github.com/rtCamp/nginx-helper/pull/174) - by [imranhsayed](https://github.com/imranhsayed)
180
189
* Fix an issue where custom purge url option does not show newlines when using multiple urls. [#184](https://github.com/rtCamp/nginx-helper/issues/184) - by [mist-webit](https://github.com/mist-webit)
181
190
182
191
### 2.0.1 ###
192
+
183
193
* Fix settings url for multisite: use network_admin_url to get network correct settings url. [#163](https://github.com/rtCamp/nginx-helper/pull/163) - by [Joel-James](https://github.com/Joel-James)
184
194
* Fix php error with arbitrary statement in empty - Prior to PHP 5.5. [#165](https://github.com/rtCamp/nginx-helper/pull/165) - by [PatelUtkarsh](https://github.com/PatelUtkarsh)
185
195
186
196
### 2.0.0 ###
197
+
187
198
* Fix typo causing failure to purge on trashed comment. [#159](https://github.com/rtCamp/nginx-helper/pull/159) - by [jinschoi](https://github.com/jinschoi)
188
199
* Refactor Plugin structure and remove unused code. Initial code by [chandrapatel](https://github.com/chandrapatel), [#153](https://github.com/rtCamp/nginx-helper/pull/153) - by [kelin1003](https://github.com/kelin1003),
189
200
* Run phpcs and fix warning. [#158](https://github.com/rtCamp/nginx-helper/pull/158) by [vaishaliagola27](https://github.com/vaishaliagola27)
190
201
* Make compatible with EasyEngine v4.
191
202
192
203
### 1.9.12 ###
204
+
193
205
* Allow override Redis host/port/prefix by defining constant in wp-config.php [#152](https://github.com/rtCamp/nginx-helper/pull/152) - by [vincent-lu](https://github.com/vincent-lu)
194
206
195
207
### 1.9.11 ###
208
+
196
209
* Fixed issue where permalinks without trailing slash does not purging [#124](https://github.com/rtCamp/nginx-helper/issues/124) - by Patrick
197
210
* Check whether role exist or not before removing capability. [#134](https://github.com/rtCamp/nginx-helper/pull/134) - by [1gor](https://github.com/1gor)
198
211
199
212
### 1.9.10 ###
213
+
200
214
* Fixed issue where Nginx cache folders deleted on purge. [#123](https://github.com/rtCamp/nginx-helper/pull/123) - by [johan-chassaing](https://github.com/johan-chassaing)
201
215
* Fixed Redis purge all feature for installation where WordPress lives in a separate folder. [#130](https://github.com/rtCamp/nginx-helper/pull/130) - by [pySilver](https://github.com/pySilver)
202
216
203
217
### 1.9.9 ###
218
+
204
219
* Fix wp_redirect issue. [#131](https://github.com/rtCamp/nginx-helper/pull/131) - by [matt-h](https://github.com/matt-h)
205
220
206
221
### 1.9.8 ###
222
+
207
223
* Fixed homepage cache cleared when WPML plugin used [#116](https://github.com/rtCamp/nginx-helper/pull/116) - by [Niwreg](https://profiles.wordpress.org/niwreg/)
208
224
* Fixed Purge Cache clears the whole Redis cache [#113](https://github.com/rtCamp/nginx-helper/issues/113) - by HansVanEijsden
209
225
* One log file for all site in WPMU.
210
226
* Single site Redis cache purge when click on Purge Cache button in WPMU [#122](https://github.com/rtCamp/nginx-helper/pull/122) - by Lars Støttrup Nielsen
211
227
* Fixed notices and warnings.
212
228
213
229
### 1.9.7 ###
230
+
214
231
* Remove timestamp if cron or wp-cli [#114](https://github.com/rtCamp/nginx-helper/pull/114) - by [samedwards](https://profiles.wordpress.org/samedwards/)
215
232
* Fixed notices and warnings.
216
233
217
234
### 1.9.6 ###
235
+
218
236
* Fixed cache purging on post publish.
219
237
* Error fixed when redis server not installed.
220
238
221
239
### 1.9.5 ###
240
+
222
241
Added custom purge URL option.
223
242
224
243
### 1.9.4 ###
244
+
225
245
* Added redis server connection timeout.
226
246
* Added RedisException handling.
227
247
228
248
### 1.9.3 ###
249
+
229
250
* Added PhpRedis API support.
230
251
* Added redis-lua script support to purge complete cache very fast.
Fixed PHP notice for an undefined index when "Enable Logging" is not set.
247
272
248
273
### 1.8.12 ###
274
+
249
275
Updated readme and changelog
250
276
251
277
### 1.8.11 ###
278
+
252
279
Fix url escaping [#82](https://github.com/rtCamp/nginx-helper/pull/82) - by
253
280
[javisperez](https://github.com/javisperez)
254
281
255
282
### 1.8.10 ###
283
+
256
284
* Security bug fix
257
285
258
286
### 1.8.9 ###
287
+
259
288
* Default setting fix and wp-cli example correction - by [bcole808](https://profiles.wordpress.org/bcole808/)
260
289
261
290
### 1.8.8 ###
291
+
262
292
* Added option to purge cache without nginx purge module - by [bcole808](https://profiles.wordpress.org/bcole808/)
263
293
264
294
### 1.8.7 ###
295
+
265
296
* Added action `rt_nginx_helper_purge_all` to purge cache from other plugins - by [gungeekatx](https://profiles.wordpress.org/gungeekatx/)
266
297
267
298
### 1.8.6 ###
299
+
268
300
* Removed wercker.yml from plugin zip/svn.
269
301
* Updated readme
270
302
271
303
### 1.8.5 ###
304
+
272
305
* Added WP_CLI support - by [Udit Desai](https://profiles.wordpress.org/desaiuditd/)
273
306
274
307
### 1.8.4 ###
308
+
275
309
* Fix undefined index issue and correct "purge_archive_on_del" key
276
310
277
311
### 1.8.3 ###
312
+
278
313
* Tested with WordPress 4.0
279
314
* Fix issue #69
280
315
281
316
### 1.8.1 ###
317
+
282
318
* Tested with wordpress 3.9.1
283
319
* Fix confilct with Mailchimp's Social plugin
284
320
285
321
### 1.8 ###
322
+
286
323
* New admin UI
287
324
* Fix missing wp_sanitize_redirect function call
288
325
289
326
### 1.7.6 ###
327
+
290
328
* Update Backend UI
291
329
* Added Language Support
292
330
293
331
### 1.7.5 ###
332
+
294
333
* Fixed option name mismatch issue to purge homepage on delete.
295
334
296
335
### 1.7.4 ###
336
+
297
337
* Disable purge and stamp by default.
298
338
299
339
### 1.7.3 ###
340
+
300
341
* Suppressed `unlink` related error-messages which can be safely ignored.
301
342
* Fixed a bug in purge-all option.
302
343
303
344
### 1.7.2 ###
345
+
304
346
*[pjv](http://profiles.wordpress.org/pjv/) fixed bug in logging file.
305
347
306
348
### 1.7.1 ###
349
+
307
350
* Fixes bug in true purge and admin screen.
308
351
309
352
### 1.7 ###
353
+
310
354
* True full cache purge added.
311
355
* Map file location changed to uploads' directory to fix http://rtcamp.com/support/topic/plugin-update-removes-map-file/
312
356
* Log file location also changed to uploads' directory.
313
357
314
358
### 1.6.13 ###
359
+
315
360
*[pjv](http://profiles.wordpress.org/pjv/) changed the way home URL is accessed. Instead of site option, the plugin now uses home_URL() function.
316
361
317
362
### 1.6.12 ###
363
+
318
364
*[telofy](http://wordpress.org/support/profile/telofy) added purging of atom and RDF feeds.
319
365
320
366
### 1.6.11 ###
367
+
321
368
* Removed comments from Admin screens since, it was interfering with media uploads in 3.5 up.
322
369
323
370
### 1.6.10 ###
371
+
324
372
* Cleaned up code.
325
373
* Added credits for code.
326
374
* Improved attachment purging.
327
375
328
376
### 1.6.9 ###
377
+
329
378
* Added Faux to Purge all buttons, to avoid misleading users.
330
379
331
380
### 1.6.8 ###
381
+
332
382
*[daankortenbach](http://profiles.wordpress.org/daankortenbach) added Purge Cache link to wp-admin bar
333
383
334
384
### 1.6.7 ###
385
+
335
386
*[jk3us](http://profiles.wordpress.org/jk3us) added better content-type detection for cache verification comments
336
387
337
388
### 1.6.6 ###
389
+
338
390
*[darren-slatten](http://profiles.wordpress.org/darren-slatten/) added Manual 'Purge all URLs' functionality
339
391
340
392
### 1.6.5 ###
393
+
341
394
* Fixed typo that interfered with archive purge settings. Thanks to [Daan Kortenbach](http://profiles.wordpress.org/daankortenbach/) for pointing this out.
342
395
343
396
### 1.6.4 ###
397
+
344
398
* Improved code for map generation to better conventions since the nesting confused some servers.
345
399
* Added map update process to admin_init for frequent refreshes.
346
400
347
401
### 1.6.3 ###
402
+
348
403
* Fixed duplicate entries.
349
404
350
405
### 1.6.2 ###
406
+
351
407
* Another bug fix in the revised code for improved multisite and multidomain mapping.
352
408
353
409
### 1.6.1 ###
410
+
354
411
* Fixed bug in the revised code for improved multisite and multidomain mapping.
355
412
356
413
### 1.6 ###
414
+
357
415
* Revised code for improved multisite and multidomain mapping.
358
416
359
417
### 1.5 ###
418
+
360
419
* Timestamp now only gets added to content-type text/html
361
420
* Added option to toggle timestamp creation
362
421
363
422
### 1.4 ###
423
+
364
424
* Fixed bug related to nomenclature of comment status that caused purge to fail.
365
425
366
426
### 1.3.9 ###
427
+
367
428
* Removed extraneous headers.
368
429
369
430
### 1.3.8 ###
@@ -422,10 +483,10 @@ Fix url escaping [#82](https://github.com/rtCamp/nginx-helper/pull/82) - by
422
483
423
484
## Upgrade Notice ##
424
485
425
-
### 2.2.1 ###
486
+
### 2.2.2 ###
426
487
427
-
Nginx Helper 2.2.1, introduces new Hooks to extend FastCGI cache purge, Adds check for verifying purge status before purging and other bug fixes.
488
+
Nginx Helper 2.2.2, Add new "rt_nginx_helper_after_purge_all" action and fixes issues where settings not saved because the button's value localized (for any language) and "Custom Purge URL" option displays previous value.
428
489
429
-
## Does this interest you?
490
+
## Does this interest you? ##
430
491
431
492
<ahref="https://rtcamp.com/"><imgsrc="https://rtcamp.com/wp-content/uploads/2019/04/[email protected]"alt="Join us at rtCamp, we specialize in providing high performance enterprise WordPress solutions"></a>
0 commit comments