Add runtime caching for translation models and composer.lock