Bug 938748: Cache compiled snippet templates.