About HTTP-EQUIV="Pragma", HTTP-EQUIV CACHE-CONTROL and HTTP-EQUIV="Expires"
I'm trying to prevent not only the browser to cache my website but also the SE (google) to not do this, I'm starting with HTML/css coding so I wanted to ask the pros XD; can anybody point me on the right direction for me to accomplish this?
For the research I've done I might use a combination of the following commands on the head of my html page:
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="no-cache"> (specifically used by Internet Explorer)
You should only ever include meta http-equiv tags in your page if you don't have access to the server in order to set them properly in the HTTP headers sent in front of the web page where the browser is more likely to obey them.