How to keep your search traffic when you relaunch a site: list the old URLs, write one-to-one redirects, test the edge cases, and check the map with a script.
How to fix a poor Interaction to Next Paint score: find which phase is slow, yield with scheduler.yield(), and avoid the setTimeout fallback's 4 ms penalty.