Plugin Directory

Changeset 2174436


Ignore:
Timestamp:
10/16/2019 05:18:54 PM (6 years ago)
Author:
hostry
Message:

Increment version 1.2.3

Location:
hostry-pagespeed-booster/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • hostry-pagespeed-booster/trunk/cdn-minifier.php

    r2087424 r2174436  
    66Author URI: https://hostry.com/
    77License: GPLv2 or later
    8 Version: 1.2.2
     8Version: 1.2.3
    99*/
    1010
  • hostry-pagespeed-booster/trunk/includes/main/CdnMinifierMinifier.php

    r2063659 r2174436  
    198198            return false;
    199199        }
    200         $indexHost = self::getIndexCache($homeURL);
    201         $homeURLHostOnly   = preg_replace('|(https?:\/\/.[^\/]*).*|', '$1', $homeURL);
     200        $indexHost       = self::getIndexCache($homeURL);
     201        $homeURLHostOnly = preg_replace('|(https?:\/\/.[^\/]*).*|', '$1', $homeURL);
    202202
    203203        $fail           = false;
     
    210210        $filesIndex = array();
    211211        foreach ($src_files as $k => $file) {
    212             $srcFile = preg_replace('|^' . preg_quote($homeURLHostOnly, '|') . '(.[^\?]*).*|', '$1', $file[0], -1, $cnt);
     212            $srcFile = preg_replace('|^' . preg_quote($homeURLHostOnly, '|') . '(.[^\?]*).*|', '$1', $file[0], -1,
     213                $cnt);
    213214            if ((int)$cnt === 0) {
    214215                /**
     
    218219                unset($src_files[$k]);
    219220            } else {
    220                 $files[] = $srcFile;
     221                $files[]      = $srcFile;
    221222                $filesIndex[] = $file[0] . filemtime($_SERVER['DOCUMENT_ROOT'] . $srcFile);
    222223            }
     
    230231             *
    231232             */
    232             $statPluginFile = self::getPath('index' . $ext . '.json');
     233            $statPluginFile = self::getPath('index' . $ext . (is_user_logged_in() ? 1 : '') . '.json');
    233234            $fileCache      = md5(implode('|', $filesIndex));
    234235            $reCache        = false;
     
    311312        $md5_el[] = $homeURL;
    312313        $md5_el[] = get_template();
     314        $md5_el[] = is_user_logged_in() ? 'OnLine' : 'OffLine';
    313315
    314316        return md5(implode('+', $md5_el));
  • hostry-pagespeed-booster/trunk/readme.txt

    r2087424 r2174436  
    9696== Changelog ==
    9797
     98= 1.2.3 =
     99* Optimizing minify for authorized/unauthorized user
     100
    98101= 1.2.2 =
    99102* Added feature replace cdn link for `data-lazy-src` images
Note: See TracChangeset for help on using the changeset viewer.