Beware of localhost!
the static cache generator uses the content tree to request all the pages connected to the nodes which it contains. It works by simulating a "browser" which makes the requests as an anonymous user. so, localhost might not work for you. you have to specify your host name. e.g. www.example.com in the HostName directive
NOTE: I was unable to make it work with http://www.example.com . it did work when omitting the http://