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

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?

  Thanks in advance.

by piger

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs