force page to refresh

M

Moo

I know in the meta tags you can tell a page to refresh and then give it an
interval, but I want to force a page to refresh when it's loaded from the
server and not keep reloading every 10 seconds. It seems a lot of people
have their browsers set to read from their cache (at least with this one
clothing website I've done) and I want to make sure they get the latest page
from the server. So is there a way to make it refresh only once?
 
R

Roy Schestowitz

Moo said:
I know in the meta tags you can tell a page to refresh and then give it an
interval, but I want to force a page to refresh when it's loaded from the
server and not keep reloading every 10 seconds. It seems a lot of people
have their browsers set to read from their cache (at least with this one
clothing website I've done) and I want to make sure they get the latest
page from the server. So is there a way to make it refresh only once?

Use the following among your meta tags:

<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">

Roy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top