Caching of compiled modules