Uniform locations now get cached.