Revert "modify redis cache"

This reverts commit 73a50a9ab282d801da7a988a0535c2f733a2eddb.
Revert "Revert "modify redis cache""

This reverts commit 8d58fde1e2f28cd4e778f253d091048ac1308099.
fix cache handler