NGINX for the Developer
[ 188 ]
Summary
NGINX provides a number of ways to support developers wishing to integrate
a high-performance web server into their application. We looked at various
possibilities of integrating both legacy and new applications. Caching plays a
key role in the modern web application. NGINX offers both passive and active
ways of using caching to help deliver a web page more quickly.
We also explored how NGINX can help manipulate a response by adding or replacing
text. Server Side Includes are also possible with NGINX. We saw a way of integrating
these commands into normal text. We then examined the powerful embedded Perl
capabilities in NGINX. Image transformation is also possible using just core NGINX.
We examined how to set a unique cookie to track website visitors. We wound up the
chapter with a word of caution about how to prevent code from inadvertently being
executed. On the whole, there are quite a few tools at the developer's disposal when
working with NGINX as a web server.
In the next chapter, we will explore troubleshooting techniques to try to get at the
root of the problem when something doesn't work as expected.