Getting visitor browsers to load most current page
I'm new to writing HTML code and have 2 quick questions, both of which I'm guessing are pretty easy but again I'm new so please forgive me.
I'm working on updating my employers web page, but i notice that once it is uploaded online that I have to make sure I refresh my browser to view the updated page. My concern is that if a returning customer goes to view the website and their browser loads the cached information that they will assume the page has not been updated and leave. Is there any code I can use to force a viewers browser to load the most current page?
Second question is if I have a link, how can i specify that it open in a new window with a certain size. I know that <a href="url" target="_blank"></a> should open the link in another window but firefox and chrome keep opening tabs. and is there a way to specify the size of the window?
myNewWindow is the instance name of your new pop-up window while the myPage is very descriptive obviously its the link..
1 thing you should know is some other browser load the new window in a tab (not a pop-up) but if you want to make it pop-up try to put extra property on your new window, something like this
Okay hope it helps you...
Thanks that helps with getting the link to open in a new window.
Do you know of anyway to stop a returning visitors browser from loading the outdated page version that is cached in the browser?
You could try no cache method:
You might look into using a techique similar to that used to update news tickers. That is, require a time and date be appended onto the file name each time it is loaded... thus, never looking in the cache for the old version. Something like this:
Perhaps you could adapt somthing like that to sections of the page that get frequent updates.
Eye for Video
I don't quite get what you're saying, but if visitors go to the webpage, it should be the newest version.
hope I helped,
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)