Hi, Just noticed a small issue case you make a typo in option 22 to install WP Code (Text): -------------------------------------------------------- Wordpress Caching -------------------------------------------------------- 1). KeyCDN Cache Enabler (default & recommended) 2). Redis Nginx Level Caching (may have issues with some wp plugins) 3). Wordpress Super Cache -------------------------------------------------------- Enter option [ 1 - 3 ] 12= Create FTP username for vhost domain (enter username): Better to verify input and return to initial 22 to select it again without typo. Now we don't know if it installs 1 or option 2 or option =
Thanks for the suggestion, FYI as listed in options KeyCDN Cache Enabler is the default, so if you enter an incorrect option number, it will assume and default to KeyCDN Cache Enabler as the Wordpress caching method of choice. I guess it would be better to reconfirm the option with a prompt at that moment rather than going back to centmin.sh menu option 22.
Little confusing for new users. They don't know it assumes option 1 as it is by default. Guess they don't read everything. So entering whatever except 1,2 or 3 always installs 1. Nice, but my opinion, confirm input if correct confirm it and if wrong go back to by default to 22 to select again. Could be they really wanted to install 2 or 3 instead of 1.
Definitely, testing a revised version of cache method selection prompt on local server. Once tested will add to 123.09beta01 updates Code (Text): -------------------------------------------------------- Wordpress Caching -------------------------------------------------------- 1) KeyCDN Cache Enabler (default & recommended) 2) Redis Nginx Level Caching (may have issues with some wp plugins) 3) Wordpress Super Cache -------------------------------------------------------- Enter option [ 1 - 3 ] 1 you selected option 1 (KeyCDN Cache Enabler) [wpscache=n] Code (Text): -------------------------------------------------------- Wordpress Caching -------------------------------------------------------- 1) KeyCDN Cache Enabler (default & recommended) 2) Redis Nginx Level Caching (may have issues with some wp plugins) 3) Wordpress Super Cache -------------------------------------------------------- Enter option [ 1 - 3 ] 2 you selected option 2 (Redis Nginx Level Cache) [wpscache=redis] Code (Text): -------------------------------------------------------- Wordpress Caching -------------------------------------------------------- 1) KeyCDN Cache Enabler (default & recommended) 2) Redis Nginx Level Caching (may have issues with some wp plugins) 3) Wordpress Super Cache -------------------------------------------------------- Enter option [ 1 - 3 ] 3 you selected option 3 (Wordpress Super Cache) [wpscache=y] Code (Text): -------------------------------------------------------- Wordpress Caching -------------------------------------------------------- 1) KeyCDN Cache Enabler (default & recommended) 2) Redis Nginx Level Caching (may have issues with some wp plugins) 3) Wordpress Super Cache -------------------------------------------------------- Enter option [ 1 - 3 ] 4 Valid options are 1 - 3 -------------------------------------------------------- Enter option [ 1 - 3 ] and one in development for fastcgi_cache selection Code (Text): -------------------------------------------------------- Wordpress Caching -------------------------------------------------------- 1) KeyCDN Cache Enabler (default & recommended) 2) Redis Nginx Level Caching (may have issues with some wp plugins) 3) Wordpress Super Cache 4) Fastcgi_cache (PHP-FPM) -------------------------------------------------------- Enter option [ 1 - 4 ] 4 you selected option 4 (Fastcgi_cache PHP-FPM) [wpscache=fastcgicache]
Will go for option 4. Have ngx_pagespeed and the only cache plugin that I use is the diskcach. The rest I always disable. Really wanted to emulate the results of option 4 to see if I get even more improvement.
yes centmin.sh menu option 22 wordpress auto installer's full page nginx php-fpm fastcgi_cache is a work in progress right now. While testing the above new cache method selection menu, also tested centmin.sh menu option 22 wordpress install with fastcgi_cache method + my Autoptimize Gzip companion plugin seems the fastcgi_cache bug with 404 not found for preview wp posts is fixed from testing so far too fastcgi_cache cache related headers will only be configured to show for your own preconfigured whitelisted IP addresses i.e. your own ISP IP so normal visitors won't see the headers, but you will and 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
When leave this stage, will there be an option/add-on to migrate from the old setup or do we have to do this manual? Really looks GREAT! Again, thanks for the NON-STOP improvements and development.
Wanted to give your centminmod/autoptimize-gzip a try, but forgot the wp-cli issue on my theme..... Wiped all theme settings again when calling wp plugin activate autoptimize-gzip. Thanks lord, we have backups!
probably be manual to start with and eventually some scripted automation eventually yeah you can just install autoptimize gzip wp plugin the old fashion way instead - upload files and active plugin in wp-admin plugin list
Updated Centmin Mod 123.09beta01 To revise centmin.sh menu option 22 wordpress installer's cache menu selection routine with input validation. Added native Autoptimize Gzip companion plugin support into centmin.sh menu option 22 wordpress auto install - details on enabling it outlined at https://community.centminmod.com/th...2-nginx-vhost-routines-in-123-09beta01.17451/