Tidy download function. nocache headers