views:

34

answers:

1

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.)

+2  A: 

Configure whatever webserver you use to send the right cache control headers. You can't depend on anything in the document itself.

David Dorward
Thank you very much. Those document links were very helpful.