Add a text cache.
Merge pull request #10 from tkihira/hbono/add-textcache

Add a text cache.