Detection or countermeasures against cache poisoning