On one of my website pages, there are many sorting buttons. If the user tries to click back after utilizing them, I'd like to prevent the ERR CACHE MISS error.
I gave it a try:
header('Cache-Control: no cache');
It works fine after one sort only, but it doesn't work after several sorts.
So I tried this :
header('Location: https://mywebsite.com/currentpage.php');
I'm not sure how to put that into practice, but it doesn't work at all.