Any caching scheme has to be integrated with the existing system sufficiently so that the information gets uncached if anyone changes character syntaxes.