Changeset 2769229
- Timestamp:
- 08/11/2022 08:13:12 AM (4 years ago)
- Location:
- ergonet-varnish-cache
- Files:
-
- 1 added
- 2 edited
- 3 copied
-
tags/1.0.6 (added)
-
tags/1.0.6/index.php (copied) (copied from ergonet-varnish-cache/trunk/index.php)
-
tags/1.0.6/readme.txt (copied) (copied from ergonet-varnish-cache/trunk/readme.txt) (2 diffs)
-
tags/1.0.6/varnishCache.php (copied) (copied from ergonet-varnish-cache/trunk/varnishCache.php) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/varnishCache.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ergonet-varnish-cache/tags/1.0.6/readme.txt
r2695810 r2769229 4 4 Requires at least: 4.9 5 5 Tested up to: 5.9 6 Stable tag: 1.0. 56 Stable tag: 1.0.6 7 7 Requires PHP: 7.1 8 8 License: GPLv2 or later … … 104 104 105 105 == Changelog == 106 107 = 1.0.6 = 108 Release date: August 11th, 2022 109 Welcome 1.0.6 release! 110 Bugfixes: 111 - Fixed problem on article update on Elementor 112 Other: 113 - Tested up with WordPress 5.9 114 106 115 = 1.0.5 = 107 116 Release date: March 18th, 2022 -
ergonet-varnish-cache/tags/1.0.6/varnishCache.php
r2695810 r2769229 6 6 Plugin Name: Ergonet Varnish Cache 7 7 Description: Plugin per la gestione della cache Varnish su hosting Ergonet. Al momento dell'aggiornamento di un articolo/pagina, il plugin provvede a cancellarlo dalla cache in modo da fornire agli utenti sempre l'ultima versione del contenuto. 8 Version: 1.0. 58 Version: 1.0.6 9 9 Author: Ergonet srl 10 10 Author URI: https://www.ergonet.it … … 35 35 class varnishCache 36 36 { 37 private $notToDo; 38 37 39 function __construct() 38 40 { … … 107 109 function purgeCache($post_id) 108 110 { 109 $this->purgePost($post_id); 110 $this->purgeFrontPage(); 111 $this->purgePostCategories($post_id); 111 if(!$this->notToDo) { 112 $this->purgePost($post_id); 113 $this->purgeFrontPage(); 114 $this->purgePostCategories($post_id); 115 $this->notToDo = true; 116 } 112 117 } 113 118 -
ergonet-varnish-cache/trunk/readme.txt
r2695810 r2769229 4 4 Requires at least: 4.9 5 5 Tested up to: 5.9 6 Stable tag: 1.0. 56 Stable tag: 1.0.6 7 7 Requires PHP: 7.1 8 8 License: GPLv2 or later … … 104 104 105 105 == Changelog == 106 107 = 1.0.6 = 108 Release date: August 11th, 2022 109 Welcome 1.0.6 release! 110 Bugfixes: 111 - Fixed problem on article update on Elementor 112 Other: 113 - Tested up with WordPress 5.9 114 106 115 = 1.0.5 = 107 116 Release date: March 18th, 2022 -
ergonet-varnish-cache/trunk/varnishCache.php
r2695810 r2769229 6 6 Plugin Name: Ergonet Varnish Cache 7 7 Description: Plugin per la gestione della cache Varnish su hosting Ergonet. Al momento dell'aggiornamento di un articolo/pagina, il plugin provvede a cancellarlo dalla cache in modo da fornire agli utenti sempre l'ultima versione del contenuto. 8 Version: 1.0. 58 Version: 1.0.6 9 9 Author: Ergonet srl 10 10 Author URI: https://www.ergonet.it … … 35 35 class varnishCache 36 36 { 37 private $notToDo; 38 37 39 function __construct() 38 40 { … … 107 109 function purgeCache($post_id) 108 110 { 109 $this->purgePost($post_id); 110 $this->purgeFrontPage(); 111 $this->purgePostCategories($post_id); 111 if(!$this->notToDo) { 112 $this->purgePost($post_id); 113 $this->purgeFrontPage(); 114 $this->purgePostCategories($post_id); 115 $this->notToDo = true; 116 } 112 117 } 113 118
Note: See TracChangeset
for help on using the changeset viewer.