Adds cache control code to traverse_assets.rb script.