Plugin Directory

Changeset 3042862


Ignore:
Timestamp:
02/29/2024 04:50:57 AM (2 years ago)
Author:
sanrl
Message:

v2.19.18 release

Location:
rabbit-loader
Files:
1 added
9 edited
11 copied

Legend:

Unmodified
Added
Removed
  • rabbit-loader/tags/2.19.18/autoload.php

    r3042861 r3042862  
    44define('RABBITLOADER_CACHE_DIR', WP_CONTENT_DIR . DIRECTORY_SEPARATOR . "rabbitloader");
    55define('RABBITLOADER_PLUG_URL', plugin_dir_url(__FILE__));
    6 define('RABBITLOADER_PLUG_VERSION', '2.19.17');
     6define('RABBITLOADER_PLUG_VERSION', '2.19.18');
    77define('RABBITLOADER_TEXT_DOMAIN', 'rabbit-loader');
    88define('RABBITLOADER_PLUG_ENV', 'PROD');
  • rabbit-loader/tags/2.19.18/inc/RabbitLoader/SDK/Cache.php

    r3030444 r3042862  
    4949            if (!mkdir($rootDir . self::TTL_LONG, 0775, true)) {
    5050                error_log("rabbitloader failed to create cache directory inside " . $rootDir);
     51                Util::sendHeader('x-rl-create-dirs: failed', true);
    5152            }
    5253        }
     
    5455            if (!mkdir($rootDir . self::TTL_SHORT, 0775, true)) {
    5556                error_log("rabbitloader failed to create cache directory inside " . $rootDir);
     57                Util::sendHeader('x-rl-create-dirs: failed', true);
    5658            } else {
    5759                //directory created successfully
     
    185187        $count = 0;
    186188        if (!$this->valid($content)) {
     189            Util::sendHeader('x-rl-save: invalid-' . $ttl, true);
    187190            return $count;
    188191        }
  • rabbit-loader/tags/2.19.18/inc/RabbitLoader/SDK/Request.php

    r3030444 r3042862  
    135135
    136136            $varsLenO = count($qsvars);
    137             if (isset($qsvars['rl-no-optimization'])) {
     137            if (isset($qsvars['rl-no-optimization']) || isset($_SERVER['HTTP_RL_NO_OPTIMIZATION']) || isset($_SERVER['HTTP_RL_CSS'])) {
    138138                unset($qsvars['rl-no-optimization']);
    139139                $this->isNoOptimization = true;
  • rabbit-loader/tags/2.19.18/inc/admin.php

    r3039136 r3042862  
    6666            $user_options['private_mode_ts'] = date('c');
    6767            RabbitLoader_21_Core::updateUserOption($user_options);
     68
     69            try {
     70                //remove public pages cache, main purpose is to purge TPV
     71                RabbitLoader_21_TP::purge_all($tp_purge_count);
     72            } catch (\Throwable $e) {
     73                RabbitLoader_21_Core::on_exception($e);
     74            }
     75
    6876            RabbitLoader_21_Core::sendJsonResponse($response);
    6977        });
  • rabbit-loader/tags/2.19.18/rabbit-loader.php

    r3042861 r3042862  
    77 * Author URI:   https://rabbitloader.com/
    88 * Description: RabbitLoader can improve Google PageSpeed score and get you 100 out of 100 by improving the page load time to just a few milliseconds. It improves the Core Web Vitals score for your pages and boost PageSpeed score to help better search rankings and best the experience for your end user.
    9  * Version: 2.19.17
     9 * Version: 2.19.18
    1010 * Text Domain: rabbit-loader
    1111 */
  • rabbit-loader/tags/2.19.18/readme.txt

    r3042861 r3042862  
    55Requires at least: 4.7
    66Tested up to: 6.4
    7 Stable tag: 2.19.17
     7Stable tag: 2.19.18
    88Requires PHP: 5.6
    99License: GNU General Public License, version 2
     
    315315== Changelog ==
    316316
     317= 2.19.18 =
     318* Invalidate cache when Me mode is toggled
     319
     320= 2.19.17 =
     321* Compatibility improvement for PHP 5.6
     322
    317323= 2.19.16 =
    318324* Prevent errors when plugin folder is directly deleted
  • rabbit-loader/trunk/autoload.php

    r3039136 r3042862  
    44define('RABBITLOADER_CACHE_DIR', WP_CONTENT_DIR . DIRECTORY_SEPARATOR . "rabbitloader");
    55define('RABBITLOADER_PLUG_URL', plugin_dir_url(__FILE__));
    6 define('RABBITLOADER_PLUG_VERSION', '2.19.17');
     6define('RABBITLOADER_PLUG_VERSION', '2.19.18');
    77define('RABBITLOADER_TEXT_DOMAIN', 'rabbit-loader');
    88define('RABBITLOADER_PLUG_ENV', 'PROD');
  • rabbit-loader/trunk/inc/RabbitLoader/SDK/Cache.php

    r3030444 r3042862  
    4949            if (!mkdir($rootDir . self::TTL_LONG, 0775, true)) {
    5050                error_log("rabbitloader failed to create cache directory inside " . $rootDir);
     51                Util::sendHeader('x-rl-create-dirs: failed', true);
    5152            }
    5253        }
     
    5455            if (!mkdir($rootDir . self::TTL_SHORT, 0775, true)) {
    5556                error_log("rabbitloader failed to create cache directory inside " . $rootDir);
     57                Util::sendHeader('x-rl-create-dirs: failed', true);
    5658            } else {
    5759                //directory created successfully
     
    185187        $count = 0;
    186188        if (!$this->valid($content)) {
     189            Util::sendHeader('x-rl-save: invalid-' . $ttl, true);
    187190            return $count;
    188191        }
  • rabbit-loader/trunk/inc/RabbitLoader/SDK/Request.php

    r3030444 r3042862  
    135135
    136136            $varsLenO = count($qsvars);
    137             if (isset($qsvars['rl-no-optimization'])) {
     137            if (isset($qsvars['rl-no-optimization']) || isset($_SERVER['HTTP_RL_NO_OPTIMIZATION']) || isset($_SERVER['HTTP_RL_CSS'])) {
    138138                unset($qsvars['rl-no-optimization']);
    139139                $this->isNoOptimization = true;
  • rabbit-loader/trunk/inc/admin.php

    r3039136 r3042862  
    6666            $user_options['private_mode_ts'] = date('c');
    6767            RabbitLoader_21_Core::updateUserOption($user_options);
     68
     69            try {
     70                //remove public pages cache, main purpose is to purge TPV
     71                RabbitLoader_21_TP::purge_all($tp_purge_count);
     72            } catch (\Throwable $e) {
     73                RabbitLoader_21_Core::on_exception($e);
     74            }
     75
    6876            RabbitLoader_21_Core::sendJsonResponse($response);
    6977        });
  • rabbit-loader/trunk/rabbit-loader.php

    r3039136 r3042862  
    77 * Author URI:   https://rabbitloader.com/
    88 * Description: RabbitLoader can improve Google PageSpeed score and get you 100 out of 100 by improving the page load time to just a few milliseconds. It improves the Core Web Vitals score for your pages and boost PageSpeed score to help better search rankings and best the experience for your end user.
    9  * Version: 2.19.17
     9 * Version: 2.19.18
    1010 * Text Domain: rabbit-loader
    1111 */
  • rabbit-loader/trunk/readme.txt

    r3039136 r3042862  
    55Requires at least: 4.7
    66Tested up to: 6.4
    7 Stable tag: 2.19.17
     7Stable tag: 2.19.18
    88Requires PHP: 5.6
    99License: GNU General Public License, version 2
     
    315315== Changelog ==
    316316
     317= 2.19.18 =
     318* Invalidate cache when Me mode is toggled
     319
     320= 2.19.17 =
     321* Compatibility improvement for PHP 5.6
     322
    317323= 2.19.16 =
    318324* Prevent errors when plugin folder is directly deleted
Note: See TracChangeset for help on using the changeset viewer.