ecorse Posted March 1, 2004 Posted March 1, 2004 Hello, This might be a newbie question - I am attempting to update my CSS file, but when I view the CSS file through my browser after updating I keep seeing the prior version. I even delete the CSS file through my FTP client, which shows the file successfully deleted, but when I point a browser at the (old) CSS file location, the old version of the CSS file pops up. Seeing these symptoms, I thought maybe something was locally cached, so I cleared all my temp internet and offline content files - I still see the old version of the CSS file when I point my browser at the file location on the web site. I've tried multiple FTP clients (including SmartFTP), multiple browsers (IE 6 and Mozilla 1.6), they all seem to indicate that even though I've deleted my file through the FTP client, the file is still on the web site server. This is the only file type that gives this can't-update effect. Any suggestions would be greatly appreciated. Thanks! Tim C. Quote
borfast Posted March 1, 2004 Posted March 1, 2004 Tim, are you uploading the new CSS file to the correct location? Is the HTML file pointing to the correct CSS file? What's the URL of the page you're working on? Quote
ecorse Posted March 1, 2004 Author Posted March 1, 2004 I'm uploading my CSS file to the public_html directory of www.ecorserowingclub.com, a file called ercstyles.css Right now (according to my FTP client) it has been *deleted* - but pointing my browser to http://www.ecorserowingclub.com/ercstyles.css still returns the file. Quote
MikeJ Posted March 1, 2004 Posted March 1, 2004 The requested URL /ercstyles.css was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. You appear to have a caching issue. Quote
TCH-Don Posted March 1, 2004 Posted March 1, 2004 in your html you are linking to <link rel="stylesheet" type="text/css" href="http://www.ecorserowingclub.com/erc_styles.css" /> not ercstyles.css but that is not there also. Quote
ecorse Posted March 1, 2004 Author Posted March 1, 2004 Thanks for the feedback regarding caching; I rebooted my computer, cleared the cache (temp internet files & offline content in IE6), I still return the deleted css file at the above indicated URL. Stumped. Regarding my CSS file definition in my html file, I've made a couple of different file names in my attempts to isolate this file update / caching problem (all files now deleted). Quote
MikeJ Posted March 1, 2004 Posted March 1, 2004 Are you going through any proxy server by any chance? Maybe you have some external device caching it??? Quote
ecorse Posted March 1, 2004 Author Posted March 1, 2004 Thanks for the good thought on the proxy server - yes, I am using one of the "accelerator" services (PeoplePC MaxSpeed), to give data compression they route HTTP through a localhost proxy and their own servers. I disabled this (went to direct access) and the cached file is gone. Interesting that it only seemed to affect the CSS file type, other files (HTML, PHP) updated immediately. Thanks! Quote
borfast Posted March 1, 2004 Posted March 1, 2004 Glad you managed to solve the problem! I did think of the proxy possibility but since my ISP stopped using proxies a few years ago, I always assume no one uses those anymore. Call me egocentric Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.