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?

  • The opposite is also true, and in fact FastCGI caching has become more popular in the last several years and will likely continue to be in the future. Jul 23 at 13:08

1 Answer 1


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.