Auto refresh?

design

#1

Hi there,

I’m finding that as I update my website on a regular basis, when I go to look at it again the updated content does not show until I refresh the page. This is fine for me as I know that I should refresh, but it means that visitors to my site do not always see the updated content.

Does anyone know a solution to this problem? Perhaps a Meta tag that automatically refreshes the page as soon as it loads?

Thanks,
George


#2

You could use any of the no-cache tricks available to try to force browsers to recheck the content (eg. setting expires to last year in a htaccess file).

Mr. Google will show you heaps of tricks :wink:

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost


#3

Thanks sXi. Could you give me an idea of a search term for google?

I’m guessing by the sound of ‘no-cache’ that it might be a solution that stops the user caching cookies… if this is the case do you foresee any problems in load times etc?

Cheers, George


#4

http://www.trap17.com/index.php/Autorefresh-Page-Minutes_t20996.html has a discussion that gives a few ideas for php, html javascript methods.

meta tag would be

java script

[color=#CC0000]TECHNIXA97[/color] for full discount.
more codes


#5

Thanks very much. Will have a read of that and try those suggestions out and see how I go.

Cheers guys,
George


#6

I’ve just been thinking about those tags…

If I were to set it to:

i.e. so that as soon as the page loads it refreshes and shows the latest content, then it would refresh infinitely, am I wrong?

Is there any way of requesting it to refresh just once?