Hi there, I thought i would come here for help once again as you guys are very helpful.
I have this problem with my website that whenever I update it via ftp and the new parts are up it is not visible to most other people when they view it. They still see the old version which is in most cases fixed with an F5 press. The problem is that the majority of people that view my site do not know about this and therefore I either have to tell them or they just assume the site hasnt been updated.
Is there a way to prevent this so that their browser loads the newest version of the page instead of getting it from cache or whatever its doing??
Thanks for your help
Yea thats what i thought also but most people who view my site are not firefox users as they are not regular computer users more like the 'check email use msn' people. so therefore the majority use IE.
I know you can combat the problem by clearing your cache but the problem is not on my computer its theirs. so i cant go and either explain to them or do it myself to everyone elses computers.
Is there a way to tell the browser as the page loads to load as new from the host rather than use cache??
Its just a problem that you will have with any website if you change it... All of the files are stored in the cache and are there for quick viewing, but the problem is that people don't really clear the cache and only see the old site content...
All you can do is tell them if there is something new with your site and ask them to press ctrl+f5, you could possibly tell them in a news area also...
Thats all the advice to offer, other than if you write any necessary scripts so that if the site has changed then it refreshes it only once according to their IP until the next time they visit and the site has changed...
I noticed you're using a .tk domain. I would create a break-out-of-frames script - forcing the browser to load the actual site from the server, not just the local cache.
Thanks for all your replies.
Yea Ahmad thats what i was thinking i would have to do if i didnt come to a better solution.
Traxor or Chris could you provide any more info on this? possibly a link? it sounds interesting and perhaps has a possibility of working.
This post was edited on 04-09-2005 at 11:58 AM by Dan0208.
document.write('<form><input type=button value="Click here to see the updates" onClick="history.go()"></form>')
// End -->
</script>
</div> ******************************
Without the *** ofcourse! Let us know if that worked!
This post was edited on 04-09-2005 at 02:36 PM by Fredzz.
Thanks for your reply Fredzz I will give this a try and get back to you. This sounds like the best option at the moment.
Although just wondering is there like a OnLoad thing for javascript instead of using a button that way it can do that by itself??