I want to lode my web site every time in every browser with NO CACHE so i tried to do it through HTMl and PHP guided from here` How to control web page caching, across all browsers?
PHP
header('Cache-Control: no-cache, no-store, must-revalidate'); // HTTP 1.1.
header('Pragma: no-cache'); // HTTP 1.0.
header('Expires: 0'); // Proxies.
HTML
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
and in the result i can see that in the response all parameters set properly
but still I can see that the web site loading old img from cache
as when i putting on the function of browser "Disable the cache when developer tool opened" i really can see how images are loading normally from server.
My question is how to avoid this ? and be sure that it is every time will load all from server ?
In addition the thing is that i can not do it trough htaccess as i need to have something like this http://url.com/?noCache=true and if it is anything else than it should load normally from cache