In San Francisco, the Twitter building's deserted cafeteria in May. (Winni Wintermeyer for The Post)

Twitter’s plan to work from home indefinitely has prompted a wave of copycats. But its transformation has been two years in the making — and the rest of America can learn some lessons.