Publicis Sapient Interview Question

How can we optimize Front-end app