Reverse proxy with caching


I am a newbie to nginx. I have come to test nginx after unsuccessfuly
trying to configure squid.

I want to run nginx as a reverse proxy and cache full page dynamic
It should pass requests to apache for cache misses and save the page
for future hits.

Please let me know the config for this. I am finding it difficult to
configure nginx for this purpose.

Thanks a lot.