Added redirect after cache clearing.