/    Sign up×
Community /Pin to ProfileBookmark

Browsers loading old CSS files

My browsers (IE, Firefox & Netscape) are loading old versions of a CSS file that I have updated on my webserver. I have tried deleting all browser temporary internet files and cookies. I have rebooted my PC. I have even removed the CSS files from the webserver to ensure it wasn’t grabbing an older version somehow. This didn’t start happening until after I integrated SMF’s community board into my website. The new software doesn’t access this CSS file though. Any ideas on this issue would be much appreciated. Thanks.

to post a comment
CSS

4 Comments(s)

Copy linkTweet thisAlerts:
@toicontienMay 25.2007 — Some web servers cache static files. So the file you upload may not be the file the server is sending the browser. It's really annoying and my college used to do that. I wonder if installing the new SMF community board changed your server config?
Copy linkTweet thisAlerts:
@dgreeneauthorMay 25.2007 — Could be. I'm checking with them now to see there are any configuration changes in the install.
Copy linkTweet thisAlerts:
@CharlesMay 25.2007 — I've gotten in the habit of always appending the revision date to the name of my CSS files. It seems the only way to be sure that the current version will be used.
Copy linkTweet thisAlerts:
@toicontienMay 25.2007 — We started doing something similar at motortopia.com. Our server admin set up a mod rewrite of some sort so we could name our CSS, JS and image files normally, and then link to them in HTML with a version number. We have it all plugged into PHP so simply changing a config variable dynamically changes the file names in the resulting HTML file a browser downloads. Very handy.
×

Success!

Help @dgreene spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.29,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...