Optimize local asm caches