> I'm using fastcgi for the communication between nginx and the application > server. > Do you think there is some setting in the fastcgi configuration that would > help me? You can try to use fastcgi_store ( http://wiki.nginx.org/HttpFastcgiModule#fastcgi_store ) - it allows nginx to store the response from backend locally. rr