Use console.exec when executing client cache code