Everybody has their procedure for cleaning kegs. Here's mine:
1. When a keg kicks I pull it out of the keezer, still under pressure, and set it aside.
2. When I get a chance (next day, next week, next month) I open the top, rinse it out with water, then with Starsan. Close up and swish around...