Caching dynamic content

NGINX can cache responses from upstream servers. In this manner, it can significantly improve page load times and reduce the load on upstream servers. NGINX has various modules to perform upstream lookup, such as FastCGI, uwsgi, Proxy, and so on. Each upstream configuration presents its own set of directives to configure the related cache.

Using FastCGI and the related cache

FastCGI is a language-independent protocol, which enables web servers to interface with various interactive programs. FastCGI is conceptually similar to Common Gateway Interface (CGI). It is meant to be an open, secure, and fast web server interface to address performance issues of CGI, with improvements to reduce the associated overheads.

NGINX comes ...

Get NGINX High Performance now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.