page validate and page optimize.