No, the native textbox of the editor contains the uncompiled code (== vJass code). The compiled code (== Jass code) is stored somewhere else in the map script. Therefore the tesh doesn't need any cache, because everything is already there.
You can easily check this by deactivating the TESH (just rename its folder) and start the editor. You will get the native Trigger Editor textbox, which still contains vJass code.