Learn about Centmin Mod LEMP Stack today
Become a Member

Nginx PageSpeed Nginx Pagespeed 1.10.x betas coming

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by eva2000, Dec 19, 2015.

  1. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    8:06 AM
    Nginx 1.13.x
    MariaDB 5.5
    Looks like ngx_pagespeed 1.10.x branch is here. 1.10.33.1-beta is listed as latest but come Monday, 1.10.33.2-beta is due so I'd wait 1.10.33.1 -> 1.10.33.2 · pagespeed/ngx_pagespeed@cd8c45f · GitHub. Should be same method of update as previously Nginx PageSpeed - ngx_pagespeed 1.9.32.11-beta released | Centmin Mod Community

     
    • Informative Informative x 2
  2. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    8:06 AM
    Nginx 1.13.x
    MariaDB 5.5
    Last edited: Dec 19, 2015
    • Informative Informative x 1
  3. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    8:06 AM
    Nginx 1.13.x
    MariaDB 5.5
    Looks like ngx_pagespeed 1.10 compile issues are with centos 6.x gcc 4.4.7 and use of clang compiler for Centmin Mod Nginx source compile. Clang 3.4.2 is used as it's substantially faster than gcc for compilation and nginx install speed and uses a lower memory footprint during compilation.

    However, centmin.sh has maintained the ability to switch between Clang and GCC for compilation of Nginx via CLANG=y or n setting. CLANG=n switches back to GCC. But CentOS 6.x GCC version is 4.4.7 too low for Nginx PageSpeed 1.10 branch. From source code, ngx_pagespeed 1.10 needs GCC =>4.8 or Clang =>3.3 (but still got errors with Clang 3.4.2). So need to use an alternate side install GCC version 4.9.1 from Scientific Linux's devtoolset-3 YUM repository. The routine for this has already been included in Centmin Mod 123.09beta01 only (not 123.08stable) as the same devtoolset-3 YUM repo is required to support nginx_brotli module compilation and support in 123.09beta01

    This is on CentOS 6.7 with a separate experimental 123.09beta01-gcc branch test with centmin.sh CLANG=n to use GCC version provided by devtoolset-3

    Code:
    cat /etc/redhat-release
    CentOS release 6.7 (Final)
    Code:
    /opt/rh/devtoolset-3/root/usr/bin/gcc --version
    gcc (GCC) 4.9.1 20140922 (Red Hat 4.9.1-10)
    Preliminary thoughts for now are to keep Centmin Mod 1.2.3-eva2000.08 stable (123.08stable) on ngx_pagespeed 1.9.32 branch and use Centmin Mod 1.2.3-eva2000.09 beta (i.e. 123.09beta01-gcc) to test ngx_pagespeed 1.10.x branch the devtoolset-3 provided GCC 4.9.1 routine rather than introduce 1.10.x huge required changes and untested routines into 123.08stable release.
     
    Last edited: Dec 19, 2015
  4. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    8:06 AM
    Nginx 1.13.x
    MariaDB 5.5
    Well with all the outlined ngx_pagespeed 1.10 goodies that are new and improved, I couldn't resist so testing out 123.09beta01-gcc branch on this very forum with Nginx + ngx_pagespeed 1.10.33.1-beta and GCC 4.9.1 compiled on CentOS 6.7 :D

    adding a few new ngx_pagespeed 1.10 branch options and enabling them in pagespeed.conf via cmd = pscontrol edit

    Code:
      # make_show_ads_async
      # https://developers.google.com/speed/pagespeed/module/filter-make-show-ads-async
      pagespeed EnableFilters make_show_ads_async;
    
      # responsive_images, responsive_images_zoom
      # https://developers.google.com/speed/pagespeed/module/filter-image-responsive
    #  pagespeed EnableFilters responsive_images;
    #  pagespeed EnableFilters responsive_images_zoom;
    
      # convert_to_webp_animated
      # https://developers.google.com/speed/pagespeed/module/filter-image-optimize#convert_to_webp_animated
      pagespeed EnableFilters convert_to_webp_animated;
    Code:
    curl -sI https://community.centminmod.com 2>&1 | grep X-Page-Speed
    X-Page-Speed: 1.10.33.1-7580
    edit: disabled responsive_images and responsive_images_zoom filters as they made forum avatars kind of funky !

    Responsive Images | PageSpeed Module | Google Developers
    showed all 3 versions of avatar on the page !

    upload_2015-12-20_4-40-43.png

    edit: seems ngx_pagespeed 1.10.33.1-beta has broken defer_javascript filter usage on this forum too, with it enabled the quick reply box is completely gone 100% of the time

    upload_2015-12-20_5-20-22.png
     
    Last edited: Dec 20, 2015
  5. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    8:06 AM
    Nginx 1.13.x
    MariaDB 5.5
    So for now disabled defer_javascript but enabled xenforo bd cache's defer js for further testing.

    animated gif conversion to animated webp tests

    graphics-anime-918520.gif

    was converted to webp for web browsers that support it but size is the same at 53.3-53.7KB
     
  6. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    8:06 AM
    Nginx 1.13.x
    MariaDB 5.5
    current ngx_pagespeed 1.10.33.1-beta stats
    Code:
    cache_time_us:                                    1064461
    cache_hits:                                           249
    cache_misses:                                        2701
    cache_backend_hits:                                  2901
    cache_backend_misses:                                  49
    cache_fallbacks:                                        0
    cache_expirations:                                     65
    cache_inserts:                                        419
    cache_deletes:                                          0
    instrumentation_filter_script_added_count:              0
    cache_extensions:                                       0
    not_cacheable:                                          0
    critical_css_beacon_filter_script_added_count:         76
    critical_css_no_beacon_due_to_missing_data:             0
    critical_css_skipped_due_to_charset:                    0
    critical_images_beacon_filter_script_added_count:     107
    css_combine_opportunities:                           2904
    css_file_count_reduction:                             609
    css_filter_blocks_rewritten:                          197
    css_filter_parse_failures:                              0
    css_filter_fallback_rewrites:                           0
    css_filter_fallback_failures:                           0
    css_filter_rewrites_dropped:                            0
    css_filter_total_original_bytes:                  6519462
    css_filter_uses:                                     5125
    flatten_imports_charset_mismatch:                       0
    flatten_imports_invalid_url:                            0
    flatten_imports_limit_exceeded:                         0
    flatten_imports_minify_failed:                          0
    flatten_imports_recursion:                              0
    flatten_imports_complex_queries:                        0
    num_css_inlined:                                        0
    css_imports_to_links:                                   0
    css_elements_moved:                                   147
    num_css_used_for_critical_css_computation:           1306
    num_css_not_used_for_critical_css_computation:        253
    num_dedup_inlined_images_candidates_found:              0
    num_dedup_inlined_images_candidates_replaced:           0
    domain_rewrites:                                        0
    google_analytics_page_load_count:                       0
    google_analytics_rewritten_count:                       0
    font_service_input_resource_hit:                        0
    font_service_input_resource_recent_fetch_failure:       0
    font_service_input_resource_recent_uncacheable_miss:    0
    font_service_input_resource_recent_uncacheable_failure: 0
    font_service_input_resource_miss:                       0
    image_file_count_reduction:                             0
    image_rewrites:                                       252
    image_resized_using_rendered_dimensions:                0
    image_norewrites_high_resolution:                       0
    image_rewrites_dropped_intentionally:                 147
    image_rewrites_dropped_decode_failure:                  0
    image_rewrites_dropped_mime_type_unknown:               0
    image_rewrites_dropped_server_write_fail:               0
    image_rewrites_dropped_nosaving_resize:                 0
    image_rewrites_dropped_nosaving_noresize:             147
    image_rewrites_dropped_due_to_load:                   243
    image_rewrites_squashing_for_mobile_screen:             0
    image_rewrite_total_bytes_saved:                  2470343
    image_rewrite_total_original_bytes:               4587371
    image_rewrite_uses:                                  6237
    image_inline:                                         764
    image_webp_rewrites:                                  141
    image_rewrite_latency_total_ms:                     52459
    image_webp_conversion_gif_timeouts:                     0
    image_webp_conversion_png_timeouts:                     0
    image_webp_conversion_jpeg_timeouts:                    0
    image_webp_conversion_gif_animated_timeouts:            0
    image_webp_alpha_timeouts:                              0
    image_webp_opaque_timeouts:                             0
    in_place_oversized_opt_stream:                          0
    in_place_uncacheable_rewrites:                          0
    inserted_ga_snippets:                                   0
    javascript_blocks_minified:                          7897
    javascript_libraries_identified:                        0
    javascript_minification_failures:                       0
    javascript_total_bytes_saved:                     1176172
    javascript_total_original_bytes:                  7906458
    javascript_minify_uses:                              9107
    javascript_reducing_minifications:                   7171
    javascript_minification_disabled:                       0
    javascript_did_not_shrink:                            726
    javascript_failed_to_write:                             0
    js_file_count_reduction:                              179
    num_js_inlined:                                         0
    num_local_storage_cache_candidates_found:            5684
    num_local_storage_cache_stored_total:                1225
    num_local_storage_cache_stored_images:               1225
    num_local_storage_cache_stored_css:                     0
    num_local_storage_cache_candidates_added:             764
    num_local_storage_cache_candidates_removed:          4568
    show_ads_snippets_converted:                            0
    show_ads_snippets_not_converte:                         0
    show_ads_api_replaced_for_async:                        0
    converted_meta_tags:                                  726
    mobilization_pages_labeled:                             0
    mobilization_pages_role_added:                          0
    mobilization_navigational_roles:                        0
    mobilization_header_roles:                              0
    mobilization_content_roles:                             0
    mobilization_marginal_roles:                            0
    mobilization_divs_unlabeled:                            0
    mobilization_divs_with_ambiguous_role_label:            0
    mobilization_menus_computed:                            0
    mobilization_menus_added:                               0
    mobilization_pages_rewritten:                           0
    mobilization_keeper_blocks_found:                       0
    mobilization_header_blocks_found:                       0
    mobilization_navigational_blocks_found:                 0
    mobilization_content_blocks_found:                      0
    mobilization_marginal_blocks_found:                     0
    mobilization_elements_deleted:                          0
    split_html_beacon_filter_script_added_count:            0
    num_rewrites_abandoned_for_lock_contention:             2
    num_distributed_rewrite_successes:                      0
    num_distributed_rewrite_failures:                       0
    num_distributed_metadata_failures:                      0
    num_deadline_alarm_invocations:                        10
    url_input_resource_hit:                                16
    url_input_resource_recent_fetch_failure:                0
    url_input_resource_recent_uncacheable_miss:             0
    url_input_resource_recent_uncacheable_failure:          0
    url_input_resource_miss:                                1
    url_trims:                                              0
    url_trim_saved_bytes:                                   0
    resource_url_domain_acceptances:                    29654
    resource_url_domain_rejections:                      7328
    rewrite_cached_output_missed_deadline:                785
    rewrite_cached_output_hits:                         19798
    rewrite_cached_output_misses:                        4676
    resource_404_count:                                     4
    slurp_404_count:                                        0
    total_page_load_ms:                                     0
    page_load_count:                                        0
    resource_fetches_cached:                              226
    resource_fetch_construct_successes:                    43
    resource_fetch_construct_failures:                      4
    num_cache_control_rewritable_resources:              1042
    num_cache_control_not_rewritable_resources:             5
    num_flushes:                                          798
    num_fallback_responses_served:                          0
    num_proactively_freshen_user_facing_request:            0
    num_fallback_responses_served_while_revalidate:         0
    num_conditional_refreshes:                              0
    ipro_served:                                            0
    ipro_not_in_cache:                                     65
    ipro_not_rewritable:                                 2587
    downstream_cache_purge_attempts:                        3
    successful_downstream_cache_purges:                     0
    total_fetch_count:                                    212
    total_rewrite_count:                                  726
    num_rewrites_executed:                               1506
    num_rewrites_dropped:                                   0
    num_resource_fetch_successes:                           1
    num_resource_fetch_failures:                            0
    cache_batcher_dropped_gets:                             0
    critical_images_valid_count:                          586
    critical_images_expired_count:                          0
    critical_images_not_found_count:                      140
    critical_css_valid_count:                               0
    critical_css_expired_count:                             0
    critical_css_not_found_count:                           0
    critical_selectors_valid_count:                       576
    critical_selectors_expired_count:                       0
    critical_selectors_not_found_count:                   150
    mobilize_cached_valid_count:                            0
    mobilize_cached_expired_count:                          0
    mobilize_cached_not_found_count:                        0
    mobilize_cached_no_consensus_count:                     0
    serf_fetch_request_count:                               0
    serf_fetch_bytes_count:                                 0
    serf_fetch_time_duration_ms:                            0
    serf_fetch_cancel_count:                                0
    serf_fetch_timeout_count:                               0
    serf_fetch_failure_count:                               0
    serf_fetch_cert_errors:                                 0
    stdio_fs_slow_ops:                                      0
    stdio_fs_total_ops:                                  7725
    memcache_timeouts:                                      0
    file_cache_bytes_freed_in_cleanup:                      0
    file_cache_cleanups:                                    0
    file_cache_disk_checks:                                 1
    file_cache_evictions:                                   0
    file_cache_write_errors:                                0
    file_cache_deletes:                                     0
    file_cache_hits:                                        0
    file_cache_inserts:                                    58
    file_cache_misses:                                   2652
    lru_cache_deletes:                                      0
    lru_cache_hits:                                       112
    lru_cache_inserts:                                    340
    lru_cache_misses:                                    2838
    shm_cache_deletes:                                      0
    shm_cache_hits:                                    118100
    shm_cache_inserts:                                   1420
    shm_cache_misses:                                    6551
    memcached_async_deletes:                                0
    memcached_async_hits:                                 137
    memcached_async_inserts:                             1692
    memcached_async_misses:                              1641
    memcached_blocking_deletes:                             0
    memcached_blocking_hits:                             1440
    memcached_blocking_inserts:                          1232
    memcached_blocking_misses:                            431
    compressed_cache_corrupt_payloads:                      0
    compressed_cache_original_size:                  17082904
    compressed_cache_compressed_size:                 4887684
    purge_cancellations:                                    0
    purge_contentions:                                      0
    purge_file_parse_failures:                              0
    purge_file_stats:                                       0
    purge_file_writes:                                      0
    purge_file_write_failures:                              0
    purge_index:                                            0
    pcache-cohorts-beacon_cohort_deletes:                   0
    pcache-cohorts-beacon_cohort_hits:                    756
    pcache-cohorts-beacon_cohort_inserts:                 429
    pcache-cohorts-beacon_cohort_misses:                 1332
    pcache-cohorts-dom_deletes:                             0
    pcache-cohorts-dom_hits:                              684
    pcache-cohorts-dom_inserts:                           803
    pcache-cohorts-dom_misses:                           1317
    ipro_recorder_resources:                               65
    ipro_recorder_inserted_into_cache:                      0
    ipro_recorder_not_cacheable:                            7
    ipro_recorder_failed:                                  65
    ipro_recorder_dropped_due_to_load:                      0
    ipro_recorder_dropped_due_to_size:                      0
    queued-fetch-count:                                     0
    dropped-fetch-count:                                    0
    child_shutdown_count:                                   1
    cache_flush_count:                                      0
    statistics_404_count:                                   0
    http_fetches:                                           4
    http_bytes_fetched:                                  3109
    http_approx_header_bytes_fetched:                     811
    css_filter_total_bytes_saved:                      120395
    image_ongoing_rewrites:                                 0
    html-worker-queue-depth:                                0
    rewrite-worker-queue-depth:                             0
    low-priority-worked-queue-depth:                        0
    current-expensive-operations:                           0
    serf_fetch_active_count:                                0
    stdio_fs_outstanding_ops:                               0
    memcache_last_error_checkpoint_ms:          1450557708806
    memcache_error_burst_size:                              0
    _purge_poll_timestamp_ms:                               0
    current-fetch-queue-size:                               0
    cache_flush_timestamp_ms:                               0
    
    upload_2015-12-20_6-59-34.png
     
  7. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    8:06 AM
    Nginx 1.13.x
    MariaDB 5.5
    Awesome news thanks to Jeffrey Crowell's suggested workaround, I have nginx 1.9.9 + ngx_pagespeed 1.10 with clang compiler working 1.10.33.1-beta clang compile errors · Issue #1079 · pagespeed/ngx_pagespeed · GitHub You still need to install devtoolset-3 for GCC 4.9.1 to pass the --gcc-toolchain path for GCC 4.9.1 devtoolset to clang. So far only Centmin Mod 123.09beta01-gcc branch has the commit switch back to clang compiler for nginx + ngx_pagespeed 1.10 · centminmod/centminmod@44bb8f9 · GitHub for testing. Then will merge into 123.09beta01 branch.

    Also ngx_pagespeed 1.10.33.2-beta released Google Groups

     
    Last edited: Dec 22, 2015
    • Like Like x 1
  8. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    8:06 AM
    Nginx 1.13.x
    MariaDB 5.5
    A bit of revision to the Clang + ngx_pagespeed 1.10 + devtoolset-3 GCC 4.9.1 compilation routine as suggested by Jeffrey Crowell, is working find with ngx_pagespeed 1.10.33.2-beta as well :)

    Committed the updated routine to 123.09beta01-gcc branch update nginx configure routine for ngx_pagespeed 1.10 support · centminmod/centminmod@dc24345 · GitHub

    noticed this way, it's compiled with clang but nginx -V doesn't report built by clang 3.4.2 (tags/RELEASE_34/dot2-final)

    Code:
                    ../ngx_pagespeed-release-1.10.33.2-beta/src/ngx_pagespeed.cc
    ccache /usr/bin/clang -ferror-limit=0 -c -I/usr/local/include/luajit-2.1 --gcc-toolchain=/opt/rh/devtoolset-3/root/usr/ -m64 -mtune=native -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wno-sign-compare -Wno-string-plus-int -Wno-deprecated-declarations -Wno-unused-parameter -Wno-unused-const-variable -Wno-conditional-uninitialized -Wno-mismatched-tags -Wno-c++11-extensions -Wno-sometimes-uninitialized -Wno-parentheses-equality -Wno-tautological-compare -Wno-self-assign -Wno-deprecated-register -Wno-deprecated -Wno-invalid-source-encoding -Wno-pointer-sign -Wno-parentheses -Wno-enum-conversion  -D_GLIBCXX_USE_CXX11_ABI=0 -DNDK_SET_VAR -DNDK_UPSTREAM_LIST -DNDK_SET_VAR  -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../ngx_pagespeed-release-1.10.33.2-beta/psol/include -I ../ngx_pagespeed-release-1.10.33.2-beta/psol/include/third_party/chromium/src -I ../ngx_pagespeed-release-1.10.33.2-beta/psol/include/third_party/google-sparsehash/src -I ../ngx_pagespeed-release-1.10.33.2-beta/psol/include/third_party/google-sparsehash/gen/arch/linux/x64/include -I ../ngx_pagespeed-release-1.10.33.2-beta/psol/include/third_party/protobuf/src -I ../ngx_pagespeed-release-1.10.33.2-beta/psol/include/third_party/re2/src -I ../ngx_pagespeed-release-1.10.33.2-beta/psol/include/out/Release/obj/gen -I ../ngx_pagespeed-release-1.10.33.2-beta/psol/include/out/Release/obj/gen/protoc_out/instaweb -I ../ngx_pagespeed-release-1.10.33.2-beta/psol/include/third_party/apr/src/include -I ../ngx_pagespeed-release-1.10.33.2-beta/psol/include/third_party/aprutil/src/include -I ../ngx_pagespeed-release-1.10.33.2-beta/psol/include/third_party/apr/gen/arch/linux/x64/include -I ../ngx_pagespeed-release-1.10.33.2-beta/psol/include/third_party/aprutil/gen/arch/linux/x64/include -I ../ngx_devel_kit-0.2.19/objs -I objs/addon/ndk -I /usr/local/include/luajit-2.1 -I ../lua-nginx-module-0.9.19/src/api -I ../nginx_upstream_check_module-0.3.0 -I ../pcre-8.38 -I ../libressl-2.2.5/.openssl/include -I objs -I src/http -I src/http/modules -I src/http/v2 -I ../ngx_devel_kit-0.2.19/src -I src/mail -I src/stream \

     
    Last edited: Dec 23, 2015
  9. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    8:06 AM
    Nginx 1.13.x
    MariaDB 5.5
    • Informative Informative x 1
  10. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    8:06 AM
    Nginx 1.13.x
    MariaDB 5.5
    Doh attempted to update this forum to 1.10.33.2-beta and ngx_pagespeed enabled didn't properly shutdown nginx and thus on restarts, nginx didn't start up nginx 1.9.9 not shutting down properly when on 1.10.33.2-beta · Issue #1082 · pagespeed/ngx_pagespeed · GitHub !

    so more testing and bug fixing i suppose to get clang compiler working for nginx + ngx_pagespeed 1.10

    FYI, timed stats for nginx upgrade recompile for nginx 1.9.9 with GCC 4.9.1 vs Clang 3.4.2 on CentOS 6.7 with ccache cache compiler cache emptied each run
    • GCC 4.9.1 = ~271 seconds to compile Nginx
    • Clang 3.4.2 = ~169 seconds to compile Nginx ~37% faster
     
    Last edited: Dec 23, 2015
    • Informative Informative x 1
  11. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    8:06 AM
    Nginx 1.13.x
    MariaDB 5.5
    FYI, just merged 123.09beta01-gcc2 code into 123.09beta01 so that ngx_pagespeed 1.10 will work with CentOS 6's lower GCC 4.4.7 version by switching to devtoolset-3 GCC 4.9.1 and switching back from Clang to GCC 4.9.1 for Nginx compilation and install merge 123.09beta01-gcc2 into 123.09beta01 for ngx_pagespeed 1.10+ · centminmod/centminmod@d292caa · GitHub Still left ngx_pagespeed 1.9 branch as default for now. You can test ngx_pagespeed 1.10 + ngx_brotli support via setting up within a persistent config file /etc/centminmod/custom_config.inc override variables below and recompiling Nginx via centmin.sh menu option 4:
    Code:
    NGINX_LIBBROTLI=y
    NGXPGSPEED_VER='1.10.33.2-beta'
    NGINX_PAGESPEEDPSOL_VER='1.10.33.2'
    Nginx on CentOS 6 with ngx_pagespeed 1.10 branch and ngx_brotli enabled.
     
  12. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    8:06 AM
    Nginx 1.13.x
    MariaDB 5.5
  13. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    8:06 AM
    Nginx 1.13.x
    MariaDB 5.5
    FYI, for now if you want to use ngx_pagespeed 1.10 branch on Centmin Mod, it will only work with Centmin Mod 123.09beta01 latest updated branch with settings outlined at https://community.centminmod.com/posts/24793/ and setting up within a persistent config file /etc/centminmod/custom_config.inc override variables below and recompiling Nginx via centmin.sh menu option 4:
    Code:
    NGXPGSPEED_VER='1.10.33.2-beta'
    NGINX_PAGESPEEDPSOL_VER='1.10.33.2'
     
  14. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    8:06 AM
    Nginx 1.13.x
    MariaDB 5.5
    ngx_pagespeed 1.10.33.3 and 1.10.33.4 betas got released. Only use if you're on Centmin Mod 123.09beta01 as it's not supported on Centmin Mod 123.08stable

    PageSpeed Release Notes  |  PageSpeed Module  |  Google Developers

     
  15. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    8:06 AM
    Nginx 1.13.x
    MariaDB 5.5
    Looks like there's a new 1.9.32.13 stable release too PageSpeed Release Notes  |  PageSpeed Module  |  Google Developers

     
  16. Matt

    Matt Moderator Staff Member

    691
    319
    63
    May 25, 2014
    Sheffield, UK
    Ratings:
    +444
    Local Time:
    11:06 PM
    1.7.1
    MariaDB 10
    Code:
    [root@host conf]# curl -sI https://mattwservices.co.uk 2>&1 | grep X-Page-Speed                       
    X-Page-Speed: 1.10.33.4-0
    Didn't actually change anything this time, and I'm not getting any of the CSS issue I had last time o_O
     
    • Informative Informative x 1
  17. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    8:06 AM
    Nginx 1.13.x
    MariaDB 5.5
    thanks for testing and confirmation :D
     
  18. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    8:06 AM
    Nginx 1.13.x
    MariaDB 5.5
    5+ days out till ngx_pagespeed 1.10.33.5 is out with 1.9.11 official support

    Compilation Error · Issue #1117 · pagespeed/ngx_pagespeed · GitHub
     
  19. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    8:06 AM
    Nginx 1.13.x
    MariaDB 5.5
    ngx_pagespeed 1.10.33.5 beta has been released for Nginx 1.9.11 compatibility PageSpeed Release Notes | PageSpeed Module | Google Developers

    Centmin Mod 123.09beta01 ONLY Compatible



    To test, please update to latest Centmin Mod 123.09beta01 code as outlined at Beta Branch - Centmin Mod .09 beta branch Testing | Centmin Mod Community and at Upgrade Centmin Mod - CentminMod.com LEMP Nginx web stack for CentOS using centmin.sh menu option 23 submenu option 1 and 2 if on Centmin Mod 123.09beta01 or submenu option 1 and 3 if on Centmin Mod 123.08stable or earlier versions.

    Only for Centmin Mod 123.09beta01 users Beta Branch - Centmin Mod .09 beta branch Testing | Centmin Mod Community To test ngx_pagespeed 1.10.33.5 beta for nginx 1.9.11 compatibility, create or append to existing persistent config file /etc/centminmod/custom_config.inc setup for
    Code:
    NGINX_PAGESPEED=y
    NGXPGSPEED_VER='1.10.33.5-beta'
    NGINX_PAGESPEEDPSOL_VER='1.10.33.5'
    
    then recompile nginx 1.9.11 via centmin.sh menu option 4

    ngx_pagespeed 1.10 branch won't work on Centmin Mod 123.08stable as it doesn't have the new improved code that Centmin Mod 123.09beta01 has to work around ngx_pagespeed 1.10 branch's higher GCC 4.8+ version requirements that CentOS 6 GCC 4.4.7 users as outlined in issues discussed at Nginx PageSpeed - Nginx Pagespeed 1.10.x betas coming | Centmin Mod Community

    Google Groups :)

     
    Last edited: Feb 18, 2016
  20. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    8:06 AM
    Nginx 1.13.x
    MariaDB 5.5

    current status for ngx_pagespeed usage with Nginx 1.9.11


    • ngx_pagespeed 1.10 only works on Centmin Mod 123.09beta01 and NOT 123.08stable.
    • ngx_pagespeed 1.10 branch only really compiles properly if you use GCC 4.8+ compiler instead of Centmin Mod's default Clang compiler for Nginx. I switched to Clang for faster compile speed and lower memory usage. But looks like for ngx_pagespeed 1.10 branch need to auto switch back from Clang to GCC 4.8.5 on CentOS 7 and GCC 4.9.1 via devtoolset-3 on CentOS 6. Centmin Mod 123.09beta01 latest updated code does just this, auto switch back to GCC when ngx_pagespeed 1.10 branch is detected.
    • So for now if you want to use nginx 1.9.11 with ngx_pagespeed you need to use ngx_pagespeed 1.10.33.5 beta and has to be compiled statically and not as a dynamic module, so use:
    Code:
    NGXDYNAMIC_NGXPAGESPEED=n
    NGINX_PAGESPEED=y
    NGXPGSPEED_VER='1.10.33.5-beta'
    NGINX_PAGESPEEDPSOL_VER='1.10.33.5'