What is the best way to prevent a webpage coded completely in HTML (no PHP or any server side langua
Posted
by racl101
on Stack Overflow
See other posts from Stack Overflow
or by racl101
Published on 2010-04-20T16:30:34Z
Indexed on
2010/04/20
16:33 UTC
Read the original article
Hit count: 175
I thought by placing these two lines that it would prevent the page from being cached but this is not the case between the head tags:
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
As already mentioned this is on server that doesn't support PHP (or any server side language, well, that's not true, it has cgi-bin folder that supports perl scripts but I don't know perl and have no time to engage in it.)
What else could I do to prevent the page from caching? It caches on Firefox and IE (and not so much in Chrome or Safari.)
© Stack Overflow or respective owner