Improve Caching

This caches less, moves setting the cache to a worker, and improves Dalli's key checking.