Forgot how to cache properly. Fixed the function so cachexml works right.