Most times the inside of the cabbage is clean because of the outer leaves protecting the inside of the cabbage however I always wash both the outside and the inside of cabbage to clean any bugs that may be present inside and remove any pesticide residue from the cabbage.
You should wash the cabbage on the outside and inside right before cooking it or eating it which preserves the Vitamins that Cabbage contains.