Use head requests instead of get.