Join the community today
Register Now

Microcaching w/ nginx.

Discussion in 'Feature Requests & Suggestions' started by ohv_, Jul 14, 2016.

  1. ohv_

    ohv_ New Member

    5
    2
    3
    Mar 30, 2016
    Ratings:
    +2
    Local Time:
    4:26 PM
    Will micro caching ever be a integrated option for centminmod?
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    9:26 AM
    Nginx 1.13.x
    MariaDB 5.5
    nginx micro caching or any caching for that matter in nginx is on a per application site basis as you need to understand the web app and site that it is used for. There's no automated way to anticipate every combination of web app(s) a person uses nor is a way to guess how that person customises that web app's installation and setup.

    There's a few exceptions when it comes to centmin mod centmin.sh menu option 22 wordpress installer that includes support for several web app level caching (wp super cache (default in 123.08stable) and keycdn cache enabler (default in 123.09beta01)) and optional manual support for switching to nginx level redis caching of wordpress in 123.09beta01 only Wordpress Nginx Auto Installer (WP Super Cache)

    Even with the wordpress installer that would be just for wordpress as centmin mod wouldn't be able to tell what other web apps you install on that domain i.e. if you had forum software, gallery software etc installed besides wordpress blog. So wouldn't be able to automatically differentiate between what web assets/urls are to be cached and which do not want to be cached. That part needs human end user intervention to manually setup and configure as well as needs the end user's familiarity with all web app(s) deployed on the site(s).
     
    Last edited: Jul 14, 2016
  3. ohv_

    ohv_ New Member

    5
    2
    3
    Mar 30, 2016
    Ratings:
    +2
    Local Time:
    4:26 PM
    I 100% agree its a case by case setup however a template for a site to be setup with microcache would be great.

    for the wordpress standpoint even filtering out the admin side of things a blanket config for the whole site to cache for 2sec.
     
  4. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    9:26 AM
    Nginx 1.13.x
    MariaDB 5.5
    Centmin Mod is provide as is, so short of scripted related bugs or issues, any further optimisation to the web stack components - nginx, php-fpm, mariadb mysql, csf firewall etc or web app specific configurations are left to the Centmin Mod user to deal with. So I do not provide any free support for such.

    However, Centmin Mod users are free to help each other out and ask questions or give answers on this community forum. My hopes are that this community forum evolves so that more veteran long time Centmin Mod users help new Centmin Mod users out :)

    Closest is on config list page Nginx Configuration Examples - CentminMod.com LEMP Nginx web stack for CentOS for wordpress fastcgi_cache Nginx Wordpress Configuration - CentminMod.com LEMP Nginx web stack for CentOS which you can get an idea of the setup and complexity involved just for a single web app.
     
  5. ohv_

    ohv_ New Member

    5
    2
    3
    Mar 30, 2016
    Ratings:
    +2
    Local Time:
    4:26 PM
    no worries just curious. when i get a moment ill share my nginx microcaching setup.
     
    • Like Like x 1
  6. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    9:26 AM
    Nginx 1.13.x
    MariaDB 5.5