If you want a smart cache invalidation system for NGINX please have a look at this plugin
http://bit.ly/nginxmanagerPages are cached on NGINX for not logged in user, and when a new content is published all and only the pages that contains that content are deleted from the cached and regenerated at the next request.