timob-17798: take care of other types of ResponseCache
Merge pull request #6277 from hieupham007/timob-17798-3_4_1

timob-17798: take care of other types of ResponseCache