Can nginx proxy_cache replace fastcgi_cache?

adrelanos asked:

If nginx is already used with proxy_cache, is there still any need to use fastcgi_cache?

In other words.. When using nginx proxy_cache, there is no more need for fastcgi_cache?

My answer:


The caching mechanism is the same. The difference is that you must use proxy_cache directives if you are proxy_passing to a backend app, and you must use fastcgi_cache when you fastcgi_pass to a backend app.


View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.