Moved cache queue before of the store get function. (up to 2x performance boost).

Hi! This change prevents the cache store from being bursted. I'm getting up to 200% performance boost when using a local redis store, and should be higher with caches located farther.