Welcome to Centmin Mod Community
Become a Member

Nginx PageSpeed Redis cache for Pagespeed

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by pdinh97qng, Jun 14, 2019.

  1. pdinh97qng

    pdinh97qng Member

    93
    10
    8
    Jan 24, 2016
    Ratings:
    +27
    Local Time:
    7:33 PM
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: 1.17.0
    • PHP Version Installed: 7.3.6
    • MariaDB MySQL Version Installed: 10.3.xx
    • When was last time updated Centmin Mod code base ? : today
    • Persistent Config: Do you have any persistent config file options set in /etc/centminmod/custom_config.inc ? You can check via this command:
      Code (Text):
      CRYPTO_DEVTOOLSETGCC='y'
      DEVTOOLSETEIGHT='y'
      DISABLE_TLSONEZERO_PROTOCOL='y'
      DUALCERTS='n'
      GENERAL_DEVTOOLSETGCC='y'
      KEYLENGTH='ec-256'
      LETSENCRYPT_DETECT='y'
      MARCH_TARGETNATIVE='n'
      NGINXPATCH='y'
      NGINX_BROTLIDEP_UPDATE='y'
      NGINX_DEVTOOLSETGCC='y'
      NGINX_DYNAMICTLS='y'
      NGINX_GEOIPTWOLITE='y'
      NGINX_IPV='n'
      NGINX_LIBBROTLI='y'
      NGINX_PAGESPEED='y'
      NGXDYNAMIC_BROTLI='y'
      NGXDYNAMIC_GEOIPTWOLITE='y'
      NGXDYNAMIC_NGXPAGESPEED='y'
      PHP_ARGON='y'
      PHP_MEMCACHE=n
      PHP_MEMCACHED=n
      PRIORITIZE_CHACHA_OPENSSL='y'
      PUREFTPD_DISABLED=y
      

      I'm using XenForo 2.1.x on my main forum, with redis cache for global, page_cache_css as outline at here. Recently I use memcached for pagespeed but I want to switch to redis, I just don't know which Databaseindex (...), port (6379 or 6380).

     
  2. EckyBrazzz

    EckyBrazzz Active Member

    873
    183
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +334
    Local Time:
    11:33 PM
    Latest
    Latest
    Code (Text):
    NGINX_PAGESPEED='y'
    

    That won't work with Redis, I tried it and had similar problems with it.
     
  3. pdinh97qng

    pdinh97qng Member

    93
    10
    8
    Jan 24, 2016
    Ratings:
    +27
    Local Time:
    7:33 PM
    Did you change memcached to redis in pagespeed.conf? And I'm testing these on a test server.
     
  4. EckyBrazzz

    EckyBrazzz Active Member

    873
    183
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +334
    Local Time:
    11:33 PM
    Latest
    Latest
    Last edited: Jun 14, 2019
  5. eva2000

    eva2000 Administrator Staff Member

    45,434
    10,311
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,991
    Local Time:
    12:33 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    yeah ngx_pagespeed with redis is a hit or miss so may not work - memcached with ngx_pagespeed is a more stable option if you had to choose
     
  6. pdinh97qng

    pdinh97qng Member

    93
    10
    8
    Jan 24, 2016
    Ratings:
    +27
    Local Time:
    7:33 PM
    Thank you, so I just keep my old config on XF2.1