Will my nginx reverse proxy cache work?

http://askubuntu.com –
I have a website running Nginx and Apache, ...Apache deals with PHP files, and Nginx the html static files, we have now changed the site so there are no html static files, only PHP files and this has heavy load on the server, so I wanted to put the nginx as a reverse proxy cache, so that the php files coming from Apache will be cached and delivered static... can anyone with expertise let me know if the following will work or what I need to change?
...
proxy_cache_path /var/www/cache levels=1:2 keys_zone=my-cache:8m max_size=1000m inactive=600m;
proxy_temp_path /var/www/cache/tmp;
#
(HowTos)

This tutorial explains how you can configure nginx to set the Expires HTTP header and the max-age directive of the Cache-Control
HTTP header of static files (such as images, CSS and Javascript files)
to a date in the future so that these files will be cached by your
visitors' browsers.