Add cache headers for download endpoints