Welcome to WebmasterWorld Guest from 54.226.143.14

Forum Moderators: incrediBILL

Message Too Old, No Replies

Question on how long firefox stores old info

Updated a file last night firefox showed old file

   
5:39 pm on Jan 22, 2008 (gmt 0)

WebmasterWorld Senior Member bwnbwn is a WebmasterWorld Top Contributor of All Time 5+ Year Member



I uploaded some chages to my CSS file last night and this morning when I viewed it in Firefox the link color hadn't changed in firefox the instant the file was uploaded.

So I view my css file in firefox see the old file go to IE see the new file.

preplexed I figure cookies so Idelete them refresh all ok
so

How long does it take for firefox to clear the cookies or do I have to do it manually as it is a total pain to keep deleting the cookies then viewing the update.

I don't use firefox as much as I probably should but is there a place to adjust the cookies to make it real time?

5:49 pm on Jan 22, 2008 (gmt 0)

WebmasterWorld Senior Member encyclo is a WebmasterWorld Top Contributor of All Time 10+ Year Member



It's not the cookies, it's the cache - and it will often be your server which sends HTTP headers indicating how long to store the file. The longer a static file is served, the longer a default Apache installation will give as an end date.

For CSS files, you are best using versioning for the file name, so when you change the file you change the file name, forcing the browser to download the new version.

10:53 pm on Jan 22, 2008 (gmt 0)

WebmasterWorld Senior Member bwnbwn is a WebmasterWorld Top Contributor of All Time 5+ Year Member



Cache hu I refreshed my browser everthing as it had been at least a couple days since I had viewed the site in firefox. It only downloaded the correct file after I cleared cookies so I figured cookies.

Thanks I will remember that..

 

Featured Threads

Hot Threads This Week

Hot Threads This Month