Add a lock file on setting cache to avoid concurrency
Improve Text introduction cut