cancel
Showing results for 
Search instead for 
Did you mean: 

A problem with page caching?

Community Veteran
Posts: 6,111
Thanks: 1
Registered: 05-04-2007

A problem with page caching?

Right, here's my problem...

Up until a while ago I had my public website running out of the same folder (htdocs) as anything else, public or not public, on my webspace. I got fed up with this because of all the files my website was taking, so I decided to copy the files to a sub-directory within htdocs. I then changed the settings at the PlusNet control panel to reflect the site's change of location within my webspace. However, I also made a little change to the copy of the welcome page in the subdirectory: I added a couple of words at the bottom. The idea was that when I were to go to my site's URL and see the page with the extra words, I would know that the page I was viewing was the one in the sub-directory, thus indicating to me that PlusNet was now pointing my domain at the correct folder. However, several weeks later and I'm still not seeing the page with the extra words. This is odd, because a couple of weeks ago I actually deleted the original files for the site (the ones outside the sub-directory), so the only copy of this file is the one with the extra words. What gets even more confusing is that when I use the Windows XP built-in FTP client, I don't see the file with the extra words (i.e. it chucks up an old, cached version), but when I use Dreamweaver MX's built-in FTP client I get the up-to-date file (with the extra text).

So, what's going on? :?

All help much appreciated!

Thanks,
Thomas
20 REPLIES
N/A

A problem with page caching?

The built in XP FTP client shouldn't cache data. Due to the nature of the protocol, it should only cache it should you wish to resume (which isn't the best).

Create a local copy, from your Dreamweaver cache, then delete it from the cache.

Use the Get file feature to download the file from the FTP server.

You should now know if it was a quirk in DW or not.

Other than testing the header of the web-site (without the domain name, I wouldn't know), I couldn't help more.
Community Veteran
Posts: 6,111
Thanks: 1
Registered: 05-04-2007

A problem with page caching?

Hmm... I'd already done what you suggested anyway... and it doesn't appear to be DW's fault.

Btw, the site I'm talking about is Computer Talk (the link's in my sig).

Thomas
N/A

A problem with page caching?

Quote

HTTP/1.0 200 OK
Date: Mon, 30 Jun 2003 18:27:05 GMT
Server: Apache/1.3.26 (Unix)
Last-Modified: Tue, 03 Jun 2003 19:32:59 GMT
ETag: "28f3a6-62a-3edcf7eb"
Accept-Ranges: bytes
Content-Length: 1578
Connection: close
Content-Type: text/html


Re-check, and make sure there are no file in the htdocs root.

Otherwise, do a contact-us
N/A

A problem with page caching?

Scrub that

http://www.kuglin.plus.com/CompTalk/
Quote

HTTP/1.0 200 OK
Date: Mon, 30 Jun 2003 18:33:12 GMT
Server: Apache/1.3.26 (Unix)
Last-Modified: Tue, 03 Jun 2003 19:32:59 GMT
ETag: "28f3a6-62a-3edcf7eb"
Accept-Ranges: bytes
Content-Length: 1578
Connection: close
Content-Type: text/html


What message am I meant to be seeing at the base of the page?
Community Veteran
Posts: 6,111
Thanks: 1
Registered: 05-04-2007

A problem with page caching?

There should be a small bit of text that just says "Testing DNS change". As I say, the idea was that as soon as I saw that text on the homepage, I knew the correct changes had occured at PlusNet's end.

Thomas
N/A

A problem with page caching?

You sure you placed the change at the base of the file Welcome.htm?
Community Veteran
Posts: 6,111
Thanks: 1
Registered: 05-04-2007

A problem with page caching?

Philip, I have double, treble and quadruple-checked, than all that twice over. And before you ask, yes, I am absolutely certain I've uploaded the file with the extra text to my webspace. Cool

Thomas
N/A

A problem with page caching?

Considering I have never visited your site before, there does sound like a problem.

Report it to +Net, it seems like they they may be using a stale NFS system.
Community Veteran
Posts: 6,111
Thanks: 1
Registered: 05-04-2007

A problem with page caching?

Will do. Thanks alot for your help anyway! Smiley

Thomas
benoh
Grafter
Posts: 272
Registered: 24-08-2007

A problem with page caching?

The file definately doesnt have any "message" in it on our servers and doesnt appear to have been updated since Jun 3rd....are you *sure* it uploaded correctly to ftp.plus.net?

[root@redlabel CompTalk]# pwd
/share/isp/plusnet/www/ku/kuglin/htdocs/CompTalk

[root@redlabel CompTalk]# tail -25 Welcome.htm
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Welcome</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<div align="center">
<p><img src="images/comp.gif" width="217" height="223"> </p>
<p><font color="#000066" size="6" face="Arial, Helvetica, sans-serif">Welcome
to Computer Talk!</font></p>
<p><font color="#000000" size="4" face="Arial, Helvetica, sans-serif">Last article
was on 10th May 2003:<br>
<strong>Logitech MX700 Cordless Optical Mouse Review</strong> </font></p>
<p>&</p>
<p><font color="#000000" size="1" face="Arial, Helvetica, sans-serif"><a href="About%20Computer%20Talk.htm">About
Computer Talk</a></font></p>
</div>
</body>
</html>

[root@redlabel CompTalk]# ls -al Welcome.htm
-rw-r--r-- 1 ku_plusn mailown 773 Jun 3 20:33 Welcome.htm
Community Veteran
Posts: 6,111
Thanks: 1
Registered: 05-04-2007

A problem with page caching?

I am absolutely 101.2% certain Ben.

Thomas
N/A

A problem with page caching?

Try defining a new site in DW. Use a blank DIR and download all files off the FTP server.
Community Veteran
Posts: 6,111
Thanks: 1
Registered: 05-04-2007

A problem with page caching?

And what good will that do?

Thomas
N/A

A problem with page caching?

I just remembered, DW uses a check-in/out system, which creates read-only files. Make sure your local copy isn't read only.

Only saved files can be uploaded, so it it can't save, it won't upload the fresh copy.