use custom response code for wayback cache miss, add logging