Richard wrote:
> On 7 Jan 2005 07:43:17 -0800 guttu wrote:
>
>
<font color=green> >>I have a new site <a style='text-decoration: underline;' href="http://www.depbindia.com.</font" target="_blank">www.depbindia.com.</font</a>>
>
>
>>I have made changes in that and uploaded the index.htm file.
>
>
>>Now when I open by giving <a style='text-decoration: underline;' href="http://www.depbindia.com" target="_blank">www.depbindia.com</a> in the URL, it show the
>>same old content. Where as when i give just <a style='text-decoration: underline;' href="http://depbindia.com," target="_blank">http://depbindia.com,</a> there
>>is a the new updated content show in the site.
>
>
>>Why does <a style='text-decoration: underline;' href="http://www.depbindia.com," target="_blank">www.depbindia.com,</a> not showing the updated content? Why does
>>removing www from the URL, helps in showing the real content?
>>You comments would be an helpful.
>
>
>>Regards
>
>
>>biswaroop todi
>
>
>
> It's obviously on the server.
> I opened both sites and compared. Two different pages.
> When this happens, I go into the server file manager and delete the old file
> to make sure it's gone.
> Then upload the new file to replace it.
>
>
Richard... actually that's a newbie answer. You need to understand how
caching works because your solution is simply wrong;
Web servers dont work the same way as documents on your home computer.
Caching comes into play; pages and images cached by your browsers and
ONLY fetched from the server again when the browser thinks the cache has
expired. This particular error usally happens when a user has visited
"www.xxxx.com" which then becomes cached. When he or she uploads new
content they DONT see the changes until their cache has expired. If they
then visit "xxxx.com" (without the www) the browser actually treats this
as a different url, so rather than reading the cached copy it goes back
out to the net and finds the changed files. The result is that it looks
like on "www.xxxx.com" your site has not updated, but on "xxxx.com" it
has updated.
This doesn't happen so much with sites that are generated (.asp, .php
etc) as they are natively "uncached" (because by their nature they are
always changing).
To get around it when it does happen you can just clear your local cache
(CTRL+R or CTRL+F5 in Internet Explorer, or the Clear Cache button in
Firefox).
If you have a proxy server between you at the internet, it MAY also be
caching...
--
x theSpaceGirl (miranda)
# lead designer @ <a style='text-decoration: underline;' href="http://www.dhnewmedia.com" target="_blank">http://www.dhnewmedia.com</a> #
# remove NO SPAM to email, or use form on website #<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Why does www make a difference