- frontend optimization