Extract Default cache into Class

- Enable use for __any__ Ruby version that has an available cache.