Source preview optimization