updated cache to use the thread_safe gem allowing true thread saftey across all rubies