Added cache expiration to textsave.