Join the community today
Become a Member

Wordpress My first Wordpress Autoptimize Gzip Companion Plugin !

Discussion in 'Blogs & CMS usage' started by eva2000, Jul 19, 2018.

  1. eva2000

    eva2000 Administrator Staff Member

    42,042
    9,487
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,597
    Local Time:
    10:38 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    that means underlying non-cache php is slow and needs tuning - something for a separate thread
     
  2. upgrade81

    upgrade81 Premium Member Premium Member

    238
    14
    18
    Sep 5, 2016
    Switzerland
    Ratings:
    +21
    Local Time:
    1:38 AM
    1.17
    10.3
    Hello, if possible I would give the possibility in case you recompile or update php to keep the extension brotli.

    Even in the event of any centmin updates.
    I have installed the extension 20 days ago, version 0.5.2,
    today we are at 0.6.1. It has not been updated.
     
  3. eva2000

    eva2000 Administrator Staff Member

    42,042
    9,487
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,597
    Local Time:
    10:38 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Right now you need to manually update brotli php extension same way you installed it
     
    • Like Like x 1
  4. upgrade81

    upgrade81 Premium Member Premium Member

    238
    14
    18
    Sep 5, 2016
    Switzerland
    Ratings:
    +21
    Local Time:
    1:38 AM
    1.17
    10.3
    OK thanks.
    But I have noticed that using it with brotli, I have a 25 ~ 30% increase in processor utilization by php-fpm (7.1).

    Normal?
    This happens on two separate VirtualMachines
     
  5. eva2000

    eva2000 Administrator Staff Member

    42,042
    9,487
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,597
    Local Time:
    10:38 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Yes brotli will use more cpu but php brotli only pre-compresses and generates the css/js files and then doesn't actively run afterwards so not sure if that extra cpu usage is all just php brotli anyway.
     
  6. eva2000

    eva2000 Administrator Staff Member

    42,042
    9,487
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,597
    Local Time:
    10:38 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Heads up Autoptimize has plans to formally add brotli pre-compression support https://github.com/futtta/autoptimize/pull/237 which will be enabled when you install my Autoptimize-gzip Wordpress Plugin once added :D

    You will need to be using Centmin Mod 123.09beta01 and enable PHP compression extension support for PHP_BROTLI='y' at least as outlined at https://community.centminmod.com/th...-extensions-by-default-in-123-09beta01.16616/ and ensuring they have Nginx Brotli module enabled via NGXDYNAMIC_BROTLI='y' and NGINX_LIBBROTLI='y' variables prior to Centmin Mod Ngixn recompiles - which will also install Brotli library required to do the actual Brotli compression.
     
    Last edited: Feb 25, 2019
    • Like Like x 2
    • Winner Winner x 2
  7. fabianski

    fabianski Member

    102
    14
    18
    Feb 20, 2019
    Brazil
    Ratings:
    +36
    Local Time:
    10:38 PM
    I'm using autoptimize with your gzip plugin and this works great!

    For enable pre-compressed brottli what do I need to do?
    I already have my nginx compiled with it

    Code:
    NGXDYNAMIC_BROTLI='y'
    NGINX_LIBBROTLI='y'
    PHP_BROTLI='y'
    
    Do I have to add some extra code to your plugin?
     
  8. eva2000

    eva2000 Administrator Staff Member

    42,042
    9,487
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,597
    Local Time:
    10:38 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  9. eva2000

    eva2000 Administrator Staff Member

    42,042
    9,487
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,597
    Local Time:
    10:38 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    • Like Like x 1
  10. eva2000

    eva2000 Administrator Staff Member

    42,042
    9,487
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,597
    Local Time:
    10:38 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Testing my Autoptimize Gzip companion plugin with Autoptimize 2.5.0 :)

    Autoptimize Gzip companion plugin enables pre-compressed css/js versions of Autoptimize js/css optimised files :)
    Code (Text):
    ls -lah /home/nginx/domains/w7.domain.com/public/wp-content/cache/autoptimize/{css,js}
    /home/nginx/domains/w7.domain.com/public/wp-content/cache/autoptimize/css:
    total 512K
    drwxrws--- 2 nginx nginx 4.0K May  6 11:28 .
    drwxrws--- 4 nginx nginx   58 May  6 11:25 ..
    -rw-r--r-- 1 nginx nginx 2.7K May  6 11:28 autoptimize_bdfdc65c4a3d614fd24e8b557ea94b79.css
    -rw-r--r-- 1 nginx nginx  880 May  6 11:28 autoptimize_bdfdc65c4a3d614fd24e8b557ea94b79.css.gz
    -rw-r--r-- 1 nginx nginx 206K May  6 11:28 autoptimize_df99314d80be0a545ae6605f158a3739.css
    -rw-r--r-- 1 nginx nginx  29K May  6 11:28 autoptimize_df99314d80be0a545ae6605f158a3739.css.gz
    -rw-r--r-- 1 nginx nginx 1.1K May  6 11:28 autoptimize_snippet_5ca26d4ea597b0f25b8477a5e344c89b.css
    -rw-r--r-- 1 nginx nginx  442 May  6 11:28 autoptimize_snippet_5ca26d4ea597b0f25b8477a5e344c89b.css.gz
    -rw-r--r-- 1 nginx nginx  25K May  6 11:28 autoptimize_snippet_7a63f6bcae054a13315b6bf1d32dbcd4.css
    -rw-r--r-- 1 nginx nginx 4.2K May  6 11:28 autoptimize_snippet_7a63f6bcae054a13315b6bf1d32dbcd4.css.gz
    -rw-r--r-- 1 nginx nginx 2.7K May  6 11:28 autoptimize_snippet_aaa59a2522320aa1969d3dbd5b355bde.css
    -rw-r--r-- 1 nginx nginx  880 May  6 11:28 autoptimize_snippet_aaa59a2522320aa1969d3dbd5b355bde.css.gz
    -rw-r--r-- 1 nginx nginx 180K May  6 11:28 autoptimize_snippet_bbd1fd5ad6d89882489f27e0891262c8.css
    -rw-r--r-- 1 nginx nginx  24K May  6 11:28 autoptimize_snippet_bbd1fd5ad6d89882489f27e0891262c8.css.gz
    -rwxrwx--- 1 nginx nginx  189 May  6 10:58 index.html
    
    /home/nginx/domains/w7.domain.com/public/wp-content/cache/autoptimize/js:
    total 40K
    drwxrws--- 2 nginx nginx 4.0K May  6 11:28 .
    drwxrws--- 4 nginx nginx   58 May  6 11:25 ..
    -rw-r--r-- 1 nginx nginx 3.6K May  6 11:28 autoptimize_4d088b1288fe4c1c8cf034a6345672bd.js
    -rw-r--r-- 1 nginx nginx 1.7K May  6 11:28 autoptimize_4d088b1288fe4c1c8cf034a6345672bd.js.gz
    -rw-r--r-- 1 nginx nginx 1.4K May  6 11:28 autoptimize_a2dea89aa2e9c4e45d3c5e6a92c2ff4a.js
    -rw-r--r-- 1 nginx nginx  753 May  6 11:28 autoptimize_a2dea89aa2e9c4e45d3c5e6a92c2ff4a.js.gz
    -rw-r--r-- 1 nginx nginx 2.2K May  6 11:28 autoptimize_snippet_1d476ef0a02dea95add5d5e192d6c89a.js
    -rw-r--r-- 1 nginx nginx 1.1K May  6 11:28 autoptimize_snippet_1d476ef0a02dea95add5d5e192d6c89a.js.gz
    -rw-r--r-- 1 nginx nginx 1.4K May  6 11:28 autoptimize_snippet_2dce40d16f9ff6332d3cbb7ae488a2b9.js
    -rw-r--r-- 1 nginx nginx  753 May  6 11:28 autoptimize_snippet_2dce40d16f9ff6332d3cbb7ae488a2b9.js.gz
    -rwxrwx--- 1 nginx nginx  189 May  6 10:58 index.html
    

    centminmod-centmin.sh-menu22-fastcgi_cache-wpadmin-autoptimize-gzip-01.png
     
    • Winner Winner x 1
  11. EckyBrazzz

    EckyBrazzz Active Member

    747
    149
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +274
    Local Time:
    10:38 PM
    1.17.x Cluster
    10.3.x Cluster & Redis
    Wow, keep up the good work @eva2000

    Code (Text):
     ls -lah wp-content/cache/autoptimize/{css,js}         
    wp-content/cache/autoptimize/css:
    total 1.9M
    drwxr-sr-x 2 nginx nginx 8.0K May  7 01:21 .
    drwxr-sr-x 4 nginx nginx 4.0K May  7 01:20 ..
    -rw-r--r-- 1 nginx nginx 282K May  7 01:20 autoptimize_040fcc0be6a8e822687af778be18df40.css
    -rw-r--r-- 1 nginx nginx  41K May  7 01:20 autoptimize_040fcc0be6a8e822687af778be18df40.css.br
    -rw-r--r-- 1 nginx nginx  51K May  7 01:20 autoptimize_040fcc0be6a8e822687af778be18df40.css.gz
    -rw-r--r-- 1 nginx nginx 226K May  7 01:21 autoptimize_46de2e7ced926565daf83bff94bb3618.css
    -rw-r--r-- 1 nginx nginx  39K May  7 01:21 autoptimize_46de2e7ced926565daf83bff94bb3618.css.br
    -rw-r--r-- 1 nginx nginx  47K May  7 01:21 autoptimize_46de2e7ced926565daf83bff94bb3618.css.gz
    -rw-r--r-- 1 nginx nginx   25 May  7 01:21 autoptimize_4f8d03e3de118b7f4248a853a1217023.css
    -rw-r--r-- 1 nginx nginx   28 May  7 01:21 autoptimize_4f8d03e3de118b7f4248a853a1217023.css.br
    -rw-r--r-- 1 nginx nginx   45 May  7 01:21 autoptimize_4f8d03e3de118b7f4248a853a1217023.css.gz
    -rw-r--r-- 1 nginx nginx  179 May  7 01:21 autoptimize_73db07958ed25a1ee2945e0a0d33df6e.css
    -rw-r--r-- 1 nginx nginx   78 May  7 01:21 autoptimize_73db07958ed25a1ee2945e0a0d33df6e.css.br
    -rw-r--r-- 1 nginx nginx  110 May  7 01:21 autoptimize_73db07958ed25a1ee2945e0a0d33df6e.css.gz
    -rw-r--r-- 1 nginx nginx 229K May  7 01:21 autoptimize_86e555a9de28a411c4bb7f22487d8f8d.css
    -rw-r--r-- 1 nginx nginx  39K May  7 01:21 autoptimize_86e555a9de28a411c4bb7f22487d8f8d.css.br
    -rw-r--r-- 1 nginx nginx  48K May  7 01:21 autoptimize_86e555a9de28a411c4bb7f22487d8f8d.css.gz
    -rw-r--r-- 1 nginx nginx 227K May  7 01:21 autoptimize_d0a2fe992b9cb81f2e4fe93baa888d4b.css
    -rw-r--r-- 1 nginx nginx  39K May  7 01:21 autoptimize_d0a2fe992b9cb81f2e4fe93baa888d4b.css.br
    -rw-r--r-- 1 nginx nginx  47K May  7 01:21 autoptimize_d0a2fe992b9cb81f2e4fe93baa888d4b.css.gz
    -rw-r--r-- 1 nginx nginx 5.1K May  7 01:19 autoptimize_snippet_01edf681188fb3a383e81ec178ffd1a8.css
    -rw-r--r-- 1 nginx nginx 1.3K May  7 01:19 autoptimize_snippet_01edf681188fb3a383e81ec178ffd1a8.css.br
    -rw-r--r-- 1 nginx nginx 1.6K May  7 01:19 autoptimize_snippet_01edf681188fb3a383e81ec178ffd1a8.css.gz
    -rw-r--r-- 1 nginx nginx 2.5K May  7 01:19 autoptimize_snippet_0b71c9a7e5ec3ee7fdaa1af5ef39e8a5.css
    -rw-r--r-- 1 nginx nginx  562 May  7 01:19 autoptimize_snippet_0b71c9a7e5ec3ee7fdaa1af5ef39e8a5.css.br
    -rw-r--r-- 1 nginx nginx  762 May  7 01:19 autoptimize_snippet_0b71c9a7e5ec3ee7fdaa1af5ef39e8a5.css.gz
    -rw-r--r-- 1 nginx nginx 5.6K May  7 01:20 autoptimize_snippet_1f40340d0a38e0aa85a33b4daf73c047.css
    -rw-r--r-- 1 nginx nginx 1.4K May  7 01:20 autoptimize_snippet_1f40340d0a38e0aa85a33b4daf73c047.css.br
    -rw-r--r-- 1 nginx nginx 1.7K May  7 01:20 autoptimize_snippet_1f40340d0a38e0aa85a33b4daf73c047.css.gz
    -rw-r--r-- 1 nginx nginx  31K May  7 01:19 autoptimize_snippet_4e61e9759aee341660e5dc2252fe5dd2.css
    -rw-r--r-- 1 nginx nginx 5.6K May  7 01:19 autoptimize_snippet_4e61e9759aee341660e5dc2252fe5dd2.css.br
    -rw-r--r-- 1 nginx nginx 6.9K May  7 01:19 autoptimize_snippet_4e61e9759aee341660e5dc2252fe5dd2.css.gz
    -rw-r--r-- 1 nginx nginx 1.5K May  7 01:19 autoptimize_snippet_6b93c562f6309c3a2f5c9305bf049120.css
    -rw-r--r-- 1 nginx nginx  487 May  7 01:19 autoptimize_snippet_6b93c562f6309c3a2f5c9305bf049120.css.br
    -rw-r--r-- 1 nginx nginx  653 May  7 01:19 autoptimize_snippet_6b93c562f6309c3a2f5c9305bf049120.css.gz
    -rw-r--r-- 1 nginx nginx 4.0K May  7 01:21 autoptimize_snippet_70968824033ee7784e6d43eb8ae23a78.css
    -rw-r--r-- 1 nginx nginx  799 May  7 01:21 autoptimize_snippet_70968824033ee7784e6d43eb8ae23a78.css.br
    -rw-r--r-- 1 nginx nginx  985 May  7 01:21 autoptimize_snippet_70968824033ee7784e6d43eb8ae23a78.css.gz
    -rw-r--r-- 1 nginx nginx  25K May  7 01:19 autoptimize_snippet_7a63f6bcae054a13315b6bf1d32dbcd4.css
    -rw-r--r-- 1 nginx nginx 3.6K May  7 01:19 autoptimize_snippet_7a63f6bcae054a13315b6bf1d32dbcd4.css.br
    -rw-r--r-- 1 nginx nginx 4.2K May  7 01:19 autoptimize_snippet_7a63f6bcae054a13315b6bf1d32dbcd4.css.gz
    -rw-r--r-- 1 nginx nginx  285 May  7 01:20 autoptimize_snippet_7b2cd5df45104f91c7dbc0a802ec454d.css
    -rw-r--r-- 1 nginx nginx  189 May  7 01:20 autoptimize_snippet_7b2cd5df45104f91c7dbc0a802ec454d.css.br
    -rw-r--r-- 1 nginx nginx  218 May  7 01:20 autoptimize_snippet_7b2cd5df45104f91c7dbc0a802ec454d.css.gz
    -rw-r--r-- 1 nginx nginx  38K May  7 01:19 autoptimize_snippet_819b4abba2336eaedd26ae820bb8385f.css
    -rw-r--r-- 1 nginx nginx 5.7K May  7 01:20 autoptimize_snippet_819b4abba2336eaedd26ae820bb8385f.css.br
    -rw-r--r-- 1 nginx nginx 6.4K May  7 01:19 autoptimize_snippet_819b4abba2336eaedd26ae820bb8385f.css.gz
    -rw-r--r-- 1 nginx nginx 2.9K May  7 01:21 autoptimize_snippet_859f8c8a60bcf50ef8b5bf7a22ad4d87.css
    -rw-r--r-- 1 nginx nginx 1.3K May  7 01:21 autoptimize_snippet_859f8c8a60bcf50ef8b5bf7a22ad4d87.css.br
    -rw-r--r-- 1 nginx nginx 1.4K May  7 01:21 autoptimize_snippet_859f8c8a60bcf50ef8b5bf7a22ad4d87.css.gz
    -rw-r--r-- 1 nginx nginx  811 May  7 01:19 autoptimize_snippet_940e88f6f3f9e656d55cd39a7f5dc622.css
    -rw-r--r-- 1 nginx nginx  194 May  7 01:19 autoptimize_snippet_940e88f6f3f9e656d55cd39a7f5dc622.css.br
    -rw-r--r-- 1 nginx nginx  308 May  7 01:19 autoptimize_snippet_940e88f6f3f9e656d55cd39a7f5dc622.css.gz
    -rw-r--r-- 1 nginx nginx 2.6K May  7 01:20 autoptimize_snippet_9a7030aade1f58bb5ed87aafe349c5fc.css
    -rw-r--r-- 1 nginx nginx  563 May  7 01:20 autoptimize_snippet_9a7030aade1f58bb5ed87aafe349c5fc.css.br
    -rw-r--r-- 1 nginx nginx  751 May  7 01:20 autoptimize_snippet_9a7030aade1f58bb5ed87aafe349c5fc.css.gz
    -rw-r--r-- 1 nginx nginx  14K May  7 01:20 autoptimize_snippet_9ba531390ced92301765af0e904f7471.css
    -rw-r--r-- 1 nginx nginx 2.8K May  7 01:20 autoptimize_snippet_9ba531390ced92301765af0e904f7471.css.br
    -rw-r--r-- 1 nginx nginx 3.2K May  7 01:20 autoptimize_snippet_9ba531390ced92301765af0e904f7471.css.gz
    -rw-r--r-- 1 nginx nginx  61K May  7 01:20 autoptimize_snippet_a200d494c2b2a8186de17596f0445769.css
    -rw-r--r-- 1 nginx nginx 4.7K May  7 01:20 autoptimize_snippet_a200d494c2b2a8186de17596f0445769.css.br
    -rw-r--r-- 1 nginx nginx 5.5K May  7 01:20 autoptimize_snippet_a200d494c2b2a8186de17596f0445769.css.gz
    -rw-r--r-- 1 nginx nginx 9.8K May  7 01:19 autoptimize_snippet_cf817a9701248877faaa40b39493d14c.css
    -rw-r--r-- 1 nginx nginx 1.6K May  7 01:19 autoptimize_snippet_cf817a9701248877faaa40b39493d14c.css.br
    -rw-r--r-- 1 nginx nginx 1.9K May  7 01:19 autoptimize_snippet_cf817a9701248877faaa40b39493d14c.css.gz
    -rw-r--r-- 1 nginx nginx  67K May  7 01:20 autoptimize_snippet_e5706cd7f921c7b2af04bc6b6bac1930.css
    -rw-r--r-- 1 nginx nginx  12K May  7 01:20 autoptimize_snippet_e5706cd7f921c7b2af04bc6b6bac1930.css.br
    -rw-r--r-- 1 nginx nginx  14K May  7 01:20 autoptimize_snippet_e5706cd7f921c7b2af04bc6b6bac1930.css.gz
    -rw-r--r-- 1 nginx nginx   98 May  7 01:19 autoptimize_snippet_e6094661d8923e95b233019ebff7c8f0.css
    -rw-r--r-- 1 nginx nginx   68 May  7 01:19 autoptimize_snippet_e6094661d8923e95b233019ebff7c8f0.css.br
    -rw-r--r-- 1 nginx nginx  106 May  7 01:19 autoptimize_snippet_e6094661d8923e95b233019ebff7c8f0.css.gz
    -rw-r--r-- 1 nginx nginx 6.1K May  7 01:19 autoptimize_snippet_fe6c5d77a88d51f2ee6343365da05a1e.css
    -rw-r--r-- 1 nginx nginx  985 May  7 01:19 autoptimize_snippet_fe6c5d77a88d51f2ee6343365da05a1e.css.br
    -rw-r--r-- 1 nginx nginx 1.2K May  7 01:19 autoptimize_snippet_fe6c5d77a88d51f2ee6343365da05a1e.css.gz
    -rw-r--r-- 1 nginx nginx  189 May  6 23:21 index.html
    
    wp-content/cache/autoptimize/js:
    total 2.0M
    drwxr-sr-x 2 nginx nginx 8.0K May  7 01:21 .
    drwxr-sr-x 4 nginx nginx 4.0K May  7 01:20 ..
    -rw-r--r-- 1 nginx nginx 240K May  7 01:19 autoptimize_231361d169f9eb691a8ab53f53f43dc6.js
    -rw-r--r-- 1 nginx nginx  58K May  7 01:19 autoptimize_231361d169f9eb691a8ab53f53f43dc6.js.br
    -rw-r--r-- 1 nginx nginx  70K May  7 01:19 autoptimize_231361d169f9eb691a8ab53f53f43dc6.js.gz
    -rw-r--r-- 1 nginx nginx 222K May  7 01:21 autoptimize_51cf3511ec2d3313bfccc29692632912.js
    -rw-r--r-- 1 nginx nginx  56K May  7 01:21 autoptimize_51cf3511ec2d3313bfccc29692632912.js.br
    -rw-r--r-- 1 nginx nginx  63K May  7 01:21 autoptimize_51cf3511ec2d3313bfccc29692632912.js.gz
    -rw-r--r-- 1 nginx nginx 219K May  7 01:21 autoptimize_5f56f7400cc7a2981414003663d5bc73.js
    -rw-r--r-- 1 nginx nginx  55K May  7 01:21 autoptimize_5f56f7400cc7a2981414003663d5bc73.js.br
    -rw-r--r-- 1 nginx nginx  63K May  7 01:21 autoptimize_5f56f7400cc7a2981414003663d5bc73.js.gz
    -rw-r--r-- 1 nginx nginx 218K May  7 01:21 autoptimize_be9c35bc45ca8b9ed4fb69934651095b.js
    -rw-r--r-- 1 nginx nginx  55K May  7 01:21 autoptimize_be9c35bc45ca8b9ed4fb69934651095b.js.br
    -rw-r--r-- 1 nginx nginx  62K May  7 01:21 autoptimize_be9c35bc45ca8b9ed4fb69934651095b.js.gz
    -rw-r--r-- 1 nginx nginx 1.8K May  7 01:19 autoptimize_snippet_03bf76a9948ac994ae2d16c2dc9b3d96.js
    -rw-r--r-- 1 nginx nginx  559 May  7 01:19 autoptimize_snippet_03bf76a9948ac994ae2d16c2dc9b3d96.js.br
    -rw-r--r-- 1 nginx nginx  704 May  7 01:19 autoptimize_snippet_03bf76a9948ac994ae2d16c2dc9b3d96.js.gz
    -rw-r--r-- 1 nginx nginx 1.8K May  7 01:19 autoptimize_snippet_0b04cb7b853664de647c1cc6b50be1c2.js
    -rw-r--r-- 1 nginx nginx  603 May  7 01:19 autoptimize_snippet_0b04cb7b853664de647c1cc6b50be1c2.js.br
    -rw-r--r-- 1 nginx nginx  703 May  7 01:19 autoptimize_snippet_0b04cb7b853664de647c1cc6b50be1c2.js.gz
    -rw-r--r-- 1 nginx nginx  16K May  7 01:19 autoptimize_snippet_0bd7146b45c933ad9bfe210a41cd79b1.js
    -rw-r--r-- 1 nginx nginx 5.1K May  7 01:19 autoptimize_snippet_0bd7146b45c933ad9bfe210a41cd79b1.js.br
    -rw-r--r-- 1 nginx nginx 5.6K May  7 01:19 autoptimize_snippet_0bd7146b45c933ad9bfe210a41cd79b1.js.gz
    -rw-r--r-- 1 nginx nginx  11K May  7 01:19 autoptimize_snippet_0eb7fb3be466db93e8d0ac1e006c1078.js
    -rw-r--r-- 1 nginx nginx 2.9K May  7 01:19 autoptimize_snippet_0eb7fb3be466db93e8d0ac1e006c1078.js.br
    -rw-r--r-- 1 nginx nginx 3.3K May  7 01:19 autoptimize_snippet_0eb7fb3be466db93e8d0ac1e006c1078.js.gz
    -rw-r--r-- 1 nginx nginx  51K May  7 01:19 autoptimize_snippet_15c091c8b808dd83781100fff3f17e80.js
    -rw-r--r-- 1 nginx nginx  12K May  7 01:19 autoptimize_snippet_15c091c8b808dd83781100fff3f17e80.js.br
    -rw-r--r-- 1 nginx nginx  14K May  7 01:19 autoptimize_snippet_15c091c8b808dd83781100fff3f17e80.js.gz
    -rw-r--r-- 1 nginx nginx 4.2K May  7 01:19 autoptimize_snippet_168888af5db0b7778e61d3add68a4cfe.js
    -rw-r--r-- 1 nginx nginx 1.3K May  7 01:19 autoptimize_snippet_168888af5db0b7778e61d3add68a4cfe.js.br
    -rw-r--r-- 1 nginx nginx 1.5K May  7 01:19 autoptimize_snippet_168888af5db0b7778e61d3add68a4cfe.js.gz
    -rw-r--r-- 1 nginx nginx 2.2K May  7 01:21 autoptimize_snippet_1d476ef0a02dea95add5d5e192d6c89a.js
    -rw-r--r-- 1 nginx nginx  910 May  7 01:21 autoptimize_snippet_1d476ef0a02dea95add5d5e192d6c89a.js.br
    -rw-r--r-- 1 nginx nginx 1.1K May  7 01:21 autoptimize_snippet_1d476ef0a02dea95add5d5e192d6c89a.js.gz
    -rw-r--r-- 1 nginx nginx  13K May  7 01:19 autoptimize_snippet_2a4d04b49d4225da231ab81c9d0d3af1.js
    -rw-r--r-- 1 nginx nginx 2.8K May  7 01:19 autoptimize_snippet_2a4d04b49d4225da231ab81c9d0d3af1.js.br
    -rw-r--r-- 1 nginx nginx 3.2K May  7 01:19 autoptimize_snippet_2a4d04b49d4225da231ab81c9d0d3af1.js.gz
    -rw-r--r-- 1 nginx nginx  24K May  7 01:19 autoptimize_snippet_2d1dff6017878f0b9349dd2b38bbd36f.js
    -rw-r--r-- 1 nginx nginx 4.5K May  7 01:19 autoptimize_snippet_2d1dff6017878f0b9349dd2b38bbd36f.js.br
    -rw-r--r-- 1 nginx nginx 5.2K May  7 01:19 autoptimize_snippet_2d1dff6017878f0b9349dd2b38bbd36f.js.gz
    -rw-r--r-- 1 nginx nginx 1.4K May  7 01:19 autoptimize_snippet_2dce40d16f9ff6332d3cbb7ae488a2b9.js
    -rw-r--r-- 1 nginx nginx  614 May  7 01:19 autoptimize_snippet_2dce40d16f9ff6332d3cbb7ae488a2b9.js.br
    -rw-r--r-- 1 nginx nginx  753 May  7 01:19 autoptimize_snippet_2dce40d16f9ff6332d3cbb7ae488a2b9.js.gz
    -rw-r--r-- 1 nginx nginx  18K May  7 01:19 autoptimize_snippet_32fffbe5ea411ee26003a2915faec439.js
    -rw-r--r-- 1 nginx nginx 5.1K May  7 01:19 autoptimize_snippet_32fffbe5ea411ee26003a2915faec439.js.br
    -rw-r--r-- 1 nginx nginx 5.7K May  7 01:19 autoptimize_snippet_32fffbe5ea411ee26003a2915faec439.js.gz
    -rw-r--r-- 1 nginx nginx 2.6K May  7 01:21 autoptimize_snippet_4139854e7cec2bc66110f4d4879bd129.js
    -rw-r--r-- 1 nginx nginx  694 May  7 01:21 autoptimize_snippet_4139854e7cec2bc66110f4d4879bd129.js.br
    -rw-r--r-- 1 nginx nginx  874 May  7 01:21 autoptimize_snippet_4139854e7cec2bc66110f4d4879bd129.js.gz
    -rw-r--r-- 1 nginx nginx 2.6K May  7 01:21 autoptimize_snippet_465e653da8c68b36b9979873d019f309.js
    -rw-r--r-- 1 nginx nginx  643 May  7 01:21 autoptimize_snippet_465e653da8c68b36b9979873d019f309.js.br
    -rw-r--r-- 1 nginx nginx  783 May  7 01:21 autoptimize_snippet_465e653da8c68b36b9979873d019f309.js.gz
    -rw-r--r-- 1 nginx nginx  11K May  7 01:19 autoptimize_snippet_472a4ea206936ca4003e609c66f590a7.js
    -rw-r--r-- 1 nginx nginx 2.9K May  7 01:19 autoptimize_snippet_472a4ea206936ca4003e609c66f590a7.js.br
    -rw-r--r-- 1 nginx nginx 3.3K May  7 01:19 autoptimize_snippet_472a4ea206936ca4003e609c66f590a7.js.gz
    -rw-r--r-- 1 nginx nginx 2.0K May  7 01:19 autoptimize_snippet_4e6dbf063eb4ab743055a70950fe76d3.js
    -rw-r--r-- 1 nginx nginx  736 May  7 01:19 autoptimize_snippet_4e6dbf063eb4ab743055a70950fe76d3.js.br
    -rw-r--r-- 1 nginx nginx  918 May  7 01:19 autoptimize_snippet_4e6dbf063eb4ab743055a70950fe76d3.js.gz
    -rw-r--r-- 1 nginx nginx 1.7K May  7 01:19 autoptimize_snippet_5a61f737f94ae5b4e0e3300f620affd6.js
    -rw-r--r-- 1 nginx nginx  744 May  7 01:19 autoptimize_snippet_5a61f737f94ae5b4e0e3300f620affd6.js.br
    -rw-r--r-- 1 nginx nginx  867 May  7 01:19 autoptimize_snippet_5a61f737f94ae5b4e0e3300f620affd6.js.gz
    -rw-r--r-- 1 nginx nginx 1.1K May  7 01:19 autoptimize_snippet_638d03d791a07872ed21ed1841ddf66e.js
    -rw-r--r-- 1 nginx nginx  385 May  7 01:19 autoptimize_snippet_638d03d791a07872ed21ed1841ddf66e.js.br
    -rw-r--r-- 1 nginx nginx  462 May  7 01:19 autoptimize_snippet_638d03d791a07872ed21ed1841ddf66e.js.gz
    -rw-r--r-- 1 nginx nginx 9.9K May  7 01:19 autoptimize_snippet_7121994eec5320fbe6586463bf9651c2.js
    -rw-r--r-- 1 nginx nginx 3.5K May  7 01:19 autoptimize_snippet_7121994eec5320fbe6586463bf9651c2.js.br
    -rw-r--r-- 1 nginx nginx 4.0K May  7 01:19 autoptimize_snippet_7121994eec5320fbe6586463bf9651c2.js.gz
    -rw-r--r-- 1 nginx nginx 1.1K May  7 01:19 autoptimize_snippet_83118aa939b5832dd4e1cad8b186012c.js
    -rw-r--r-- 1 nginx nginx  485 May  7 01:19 autoptimize_snippet_83118aa939b5832dd4e1cad8b186012c.js.br
    -rw-r--r-- 1 nginx nginx  575 May  7 01:19 autoptimize_snippet_83118aa939b5832dd4e1cad8b186012c.js.gz
    -rw-r--r-- 1 nginx nginx 9.8K May  7 01:19 autoptimize_snippet_8befa62c91dc4c12d3d8cff93ec1744f.js
    -rw-r--r-- 1 nginx nginx 2.6K May  7 01:19 autoptimize_snippet_8befa62c91dc4c12d3d8cff93ec1744f.js.br
    -rw-r--r-- 1 nginx nginx 3.0K May  7 01:19 autoptimize_snippet_8befa62c91dc4c12d3d8cff93ec1744f.js.gz
    -rw-r--r-- 1 nginx nginx 4.7K May  7 01:19 autoptimize_snippet_8e0363a3764124328e3383f0bca6a819.js
    -rw-r--r-- 1 nginx nginx 1.1K May  7 01:19 autoptimize_snippet_8e0363a3764124328e3383f0bca6a819.js.br
    -rw-r--r-- 1 nginx nginx 1.2K May  7 01:19 autoptimize_snippet_8e0363a3764124328e3383f0bca6a819.js.gz
    -rw-r--r-- 1 nginx nginx 9.7K May  7 01:19 autoptimize_snippet_8fff1e36998ba4c6b5b0be19d4d2dc73.js
    -rw-r--r-- 1 nginx nginx 2.7K May  7 01:19 autoptimize_snippet_8fff1e36998ba4c6b5b0be19d4d2dc73.js.br
    -rw-r--r-- 1 nginx nginx 3.2K May  7 01:19 autoptimize_snippet_8fff1e36998ba4c6b5b0be19d4d2dc73.js.gz
    -rw-r--r-- 1 nginx nginx 1.1K May  7 01:19 autoptimize_snippet_94224ab5b8e76a9c9470872334f87d28.js
    -rw-r--r-- 1 nginx nginx  385 May  7 01:19 autoptimize_snippet_94224ab5b8e76a9c9470872334f87d28.js.br
    -rw-r--r-- 1 nginx nginx  462 May  7 01:19 autoptimize_snippet_94224ab5b8e76a9c9470872334f87d28.js.gz
    -rw-r--r-- 1 nginx nginx  21K May  7 01:21 autoptimize_snippet_9bbbbacf019bac000a1dad0d022e14ae.js
    -rw-r--r-- 1 nginx nginx 6.7K May  7 01:21 autoptimize_snippet_9bbbbacf019bac000a1dad0d022e14ae.js.br
    -rw-r--r-- 1 nginx nginx 7.5K May  7 01:21 autoptimize_snippet_9bbbbacf019bac000a1dad0d022e14ae.js.gz
    -rw-r--r-- 1 nginx nginx  20K May  7 01:19 autoptimize_snippet_ba6cf724c8bb1cf5b084e79ff230626e.js
    -rw-r--r-- 1 nginx nginx 6.4K May  7 01:19 autoptimize_snippet_ba6cf724c8bb1cf5b084e79ff230626e.js.br
    -rw-r--r-- 1 nginx nginx 7.2K May  7 01:19 autoptimize_snippet_ba6cf724c8bb1cf5b084e79ff230626e.js.gz
    -rw-r--r-- 1 nginx nginx   37 May  7 01:19 autoptimize_snippet_bb39b39988adcb535f21e8614d90d3f5.js
    -rw-r--r-- 1 nginx nginx   41 May  7 01:19 autoptimize_snippet_bb39b39988adcb535f21e8614d90d3f5.js.br
    -rw-r--r-- 1 nginx nginx   57 May  7 01:19 autoptimize_snippet_bb39b39988adcb535f21e8614d90d3f5.js.gz
    -rw-r--r-- 1 nginx nginx  21K May  7 01:19 autoptimize_snippet_d9267d6dda814fd767e1df7bfbe7eb57.js
    -rw-r--r-- 1 nginx nginx 6.7K May  7 01:19 autoptimize_snippet_d9267d6dda814fd767e1df7bfbe7eb57.js.br
    -rw-r--r-- 1 nginx nginx 7.5K May  7 01:19 autoptimize_snippet_d9267d6dda814fd767e1df7bfbe7eb57.js.gz
    -rw-r--r-- 1 nginx nginx  842 May  7 01:19 autoptimize_snippet_fe40d9955ecf46f2ac9cdc13d7bebc5d.js
    -rw-r--r-- 1 nginx nginx  273 May  7 01:19 autoptimize_snippet_fe40d9955ecf46f2ac9cdc13d7bebc5d.js.br
    -rw-r--r-- 1 nginx nginx  344 May  7 01:19 autoptimize_snippet_fe40d9955ecf46f2ac9cdc13d7bebc5d.js.gz
    -rw-r--r-- 1 nginx nginx  189 May  6 23:21 index.html
    
     
    • Like Like x 1
  12. eva2000

    eva2000 Administrator Staff Member

    42,042
    9,487
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,597
    Local Time:
    10:38 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Looking good there with both gzip and brotli pre-compressed Autoptimize css/js assets :cool:
     
  13. eva2000

    eva2000 Administrator Staff Member

    42,042
    9,487
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,597
    Local Time:
    10:38 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    • Like Like x 1
  14. EckyBrazzz

    EckyBrazzz Active Member

    747
    149
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +274
    Local Time:
    10:38 PM
    1.17.x Cluster
    10.3.x Cluster & Redis
    FYI, sharing is knowing, so here you go. That autoptimize is a beast of a plugin. Use it to Preconnect a 3rd party DNS and get around 30% speed gain on your WP site. Why someone want`s to pay for wp-rocket if you can get the same or even better stuff for free!

    Use https://www.webpagetest.org and have a look at the waterfall. Enter the external domains into the Preconnect to 3rd party domains (advanced users) of the tab Extra in the autoptimize and clear your cache (both autoptimize and if used Cloudflare) and have a new run at https://www.webpagetest.org and see the waterfall again!

    Great!

    Was not aware of centminmod/brotli.sh, installed it differently, but sure, migrate to this and set it up with a cron... Guess it`s better than the way I did it. Can`t even find it back in my logbook how I did it.
    Couldn`t find the brotli-config.ini file so that got me thinking. Need to change.

    EDIT: This forum has a kind of A.I. so I saw that I was not the first one that found it out. SO CREDITS GO TO @eva2000 (again, when can I be the first one to post something new)
     
    Last edited: May 8, 2019
    • Informative Informative x 1
  15. eva2000

    eva2000 Administrator Staff Member

    42,042
    9,487
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,597
    Local Time:
    10:38 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Exactly why centmin.sh menu option 22 installs Autoptmize wordpress plugin out of the box with wordpress auto installer :)

    Yeah lots of wonderful gem nuggets when you browse this forum :D FYI, you create brotli-config.ini if it doesn't exist :)
     
  16. EckyBrazzz

    EckyBrazzz Active Member

    747
    149
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +274
    Local Time:
    10:38 PM
    1.17.x Cluster
    10.3.x Cluster & Redis
    Haha, Guess I start liking you! Love CMM and the actions you take!

    WP_AUTOPTIMIZE_GZIP='y' is set in persistent config file /etc/centminmod/custom_config.inc
     
    • Like Like x 1
  17. eva2000

    eva2000 Administrator Staff Member

    42,042
    9,487
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,597
    Local Time:
    10:38 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Yeah basically Centmin Mod LEMP stack way of doing things is basically what I would usually do/like to do myself because no other control panel/lemp/lamp stack allows me to do it my way :D
     
    • Agree Agree x 1
  18. eva2000

    eva2000 Administrator Staff Member

    42,042
    9,487
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,597
    Local Time:
    10:38 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    FYI, just updated 123.09beta01's centmin.sh menu option 22 wordpress installer to prompt and ask if end user wants to install Autoptimize Gzip companion plugin to precompress Autoptimize plugin optimised js/css assets :)
     
  19. EckyBrazzz

    EckyBrazzz Active Member

    747
    149
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +274
    Local Time:
    10:38 PM
    1.17.x Cluster
    10.3.x Cluster & Redis
    Just created a new Vhost, but missed that one. Noticed that you removed some things like default and recommended. :) Is option 1 still the recommended one? Will create another vhost in about 10 minutes from now.

    Wana keep up to date with the changes.
     
  20. eva2000

    eva2000 Administrator Staff Member

    42,042
    9,487
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,597
    Local Time:
    10:38 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    yeah KeyCDN Cache Enabler is still recommended. But the default was previously because if you don't answer or answered incorrectly it would default to KeyCDN Cache Enabler. But with the revised cache method selection menu I added, there is no chance that the user can answer incorrectly, they can only answer with the option numbers presented to them. So no possibility of triggering the fall back default KeyCDN Cache Enabler