Fix cache data not saved to memcache.