Translated pattern caching