February 2018
Beginner to intermediate
348 pages
9h 40m
English
Once you have correctly configured Nginx to work with your FastCGI application, you may optionally make use of the following directives, which will help you improve the overall server performance by setting up a cache system. Additionally, FastCGI buffering allows you to buffer responses from the FastCGI backend instead of synchronously forwarding them to the client:
|
Directive |
Description |
|
fastcgi_cache Context: http, server, location |
This directive defines a cache zone. The identifier given to the zone is to be reused in further directives. Syntax: fastcgi_cache zonename; Example: fastcgi_cache cache1; |
|
fastcgi_cache_key Context: http, server, location |
This directive defines the cache key |
Read now
Unlock full access