Optimized web actions to reduce cpu usage