I'm new to nginx. I love the gzip_static option and I;ve been thinking about the best way to generate, update and delete these files.
I wrote an article here: http://www.richnetapps.com/generation-of-gzip-files-for-nginx/
My method uses inotifywait.
I hope it's useful and that I didn't make any glaring errors.