Fix high cpu usage using page loading and request processing