log cleanup and phantomjs cache without loading images