I use AJAX for my website and my website some part load after document is ready by AJAX and those parts are dynamic.
Example one part: Hello #USERNAME# this is different for every ID, When i log in to first ID show my username but when log in to second ID this name do not change and show first ID username.
I disabled cache in all PHP pages by above code:
<?php
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
?>
But cache is not disabled.