Jump to content

Recommended Posts

Posted

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.

Posted

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?

Posted
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.

Posted

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).

Posted

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!

Posted

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 :dance:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...