Update cache to not modify the original table type

Now use a different caching table