Fixed cache with no socket session issue