resolve cache bug, support browser version