Page refreshing problem |
Page refreshing problem |
Decky |
Aug 6 2017, 06:43 PM
Post
#1
|
Newbie Group: Members Posts: 14 Joined: 5-August 17 Member No.: 26,472 |
My association website (http://www.nhoa.org.uk/) has pages that often need to be updated so that members can view the latest information (such as news and events). The problem is that members are still seeing the old page cached by the browser and don't realise that the page has been updated with new information. The address has web forwarding to the server at http://www.nhoa.hyperphp.com/home.html so even if they do refresh the page, with http://www.nhoa.org.uk/ in the address bar it always takes the reader back to the homepage without refreshing the page that was being read. To try and overcome this I've added a direct link under the menu to take the reader the server address so that pressing F5 refreshes the page being read without jumping to the homepage. This is far from ideal as members don't know when to click on the direct link and continue viewing the old cached data.
I need to implement a command in the coding to automatically refresh the page from the server address. I've been experimenting with <meta http-equiv="refresh" content="30"> but can't get it to work properly. If I set the content to "30" it waits 30 seconds before it's refreshed and the reader could have read the old data and gone by then. If I set it to less than that, say 10 seconds, it makes reading very difficult if they have a slow connection and the page keeps going off to reload every 10 seconds. I ideally need something that will either force the browser to load the page from the server and not the cache (overriding the browser settings) or refresh the page once as soon as it has been loaded (or after a predetermined time) and then stop. Any suggests for achieving this will be greatly appreciated (I've done numerous searches online but everything seems to point to the above meta tag solution). This post has been edited by Decky: Aug 6 2017, 06:59 PM |
Decky |
Aug 9 2017, 02:00 PM
Post
#2
|
Newbie Group: Members Posts: 14 Joined: 5-August 17 Member No.: 26,472 |
I've used HyperPHP hosting service from when I first set the site up 10 years ago. It's always been a free account and it was ad-free in the beginning. They introduced ads later though and when I complained they took them off when I said I would put a link to their website on every page. They also provide free technical support which has been very good on the few times I've needed it (that's usually only provided on paid accounts).
So I can recommend them, it won't be worth moving to a paid account unless it's absolutely necessary and I can't see a reason why it would be (unless they change their policy). |
Lo-Fi Version | Time is now: 26th April 2024 - 08:23 AM |