Plugin Directory

Changeset 2769229


Ignore:
Timestamp:
08/11/2022 08:13:12 AM (4 years ago)
Author:
ergonet
Message:

1.0.6 version release

Location:
ergonet-varnish-cache
Files:
1 added
2 edited
3 copied

Legend:

Unmodified
Added
Removed
  • ergonet-varnish-cache/tags/1.0.6/readme.txt

    r2695810 r2769229  
    44Requires at least: 4.9
    55Tested up to: 5.9
    6 Stable tag: 1.0.5
     6Stable tag: 1.0.6
    77Requires PHP: 7.1
    88License: GPLv2 or later
     
    104104
    105105== Changelog ==
     106
     107= 1.0.6 =
     108Release date: August 11th, 2022
     109Welcome 1.0.6 release!
     110Bugfixes:
     111- Fixed problem on article update on Elementor
     112Other:
     113- Tested up with WordPress 5.9
     114
    106115= 1.0.5 =
    107116Release date: March 18th, 2022
  • ergonet-varnish-cache/tags/1.0.6/varnishCache.php

    r2695810 r2769229  
    66Plugin Name: Ergonet Varnish Cache
    77Description: 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.5
     8Version: 1.0.6
    99Author: Ergonet srl
    1010Author URI: https://www.ergonet.it
     
    3535class varnishCache
    3636{
     37    private $notToDo;
     38
    3739    function __construct()
    3840    {
     
    107109    function purgeCache($post_id)
    108110    {
    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        }
    112117    }
    113118
  • ergonet-varnish-cache/trunk/readme.txt

    r2695810 r2769229  
    44Requires at least: 4.9
    55Tested up to: 5.9
    6 Stable tag: 1.0.5
     6Stable tag: 1.0.6
    77Requires PHP: 7.1
    88License: GPLv2 or later
     
    104104
    105105== Changelog ==
     106
     107= 1.0.6 =
     108Release date: August 11th, 2022
     109Welcome 1.0.6 release!
     110Bugfixes:
     111- Fixed problem on article update on Elementor
     112Other:
     113- Tested up with WordPress 5.9
     114
    106115= 1.0.5 =
    107116Release date: March 18th, 2022
  • ergonet-varnish-cache/trunk/varnishCache.php

    r2695810 r2769229  
    66Plugin Name: Ergonet Varnish Cache
    77Description: 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.5
     8Version: 1.0.6
    99Author: Ergonet srl
    1010Author URI: https://www.ergonet.it
     
    3535class varnishCache
    3636{
     37    private $notToDo;
     38
    3739    function __construct()
    3840    {
     
    107109    function purgeCache($post_id)
    108110    {
    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        }
    112117    }
    113118
Note: See TracChangeset for help on using the changeset viewer.