3 ms·
I've played with this configuration but never put it into production: Varnish (with ESI enabled) -> Nginx (with memcached module enabled) -> PHP-FPM. Most of
by dugmartin 12y ago
I've played with this configuration but never put it into production:
Varnish (with ESI enabled) -> Nginx (with memcached module enabled) -> PHP-FPM.
Most of the page is served with Varnish with the ESI directives hitting the Nginx server which serves the fragments from memcached if present, otherwise the PHP-FPM server is hit which then returns the results and sets the fragment in memcached with a low ttl.