* Store cache keys in cache_store for multi-threading.
* Prepare to clean up dirty code