what's the difference between "proxy_cache" and "fastcgi_cache"?

Dayo nginx-forum at nginx.us
Tue Mar 1 18:47:23 MSK 2011


pig Wrote:
-------------------------------------------------------
> I know that "proxy_cache" is often used for static
> pages(or elements), and "fastcgi_cache" is usually
> used for dynamic script(*.php,*.jsp etc.).
>   
>       But what's difference between their
> implementation?   what content is cached by
> "fastcgi_cache", the script file itself or the
> interpretted HTML file?

Whatever is returned by fastcgi. Usually html.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,179382,179466#msg-179466




More information about the nginx mailing list