Jump to content


FireFox


9 replies to this topic

#1 _*Creative Insanity_*

  • Guests

Posted 01 April 2007 - 03:03 PM

Is it me or has FF got one of the worst cache systems in the browser market.
Like, I am redoing some links on my site and so I change the styles and some links and in safari on my system and on IE on the mrs laptop the changes are fine, but on FF the are not updated.
You delete the cache and still no change update. FF does really pee me off sometimes with it's stupid cache.

Anyone else have this problem with FF or is it just me?

#2 _*Creative Insanity_*

  • Guests

Posted 01 April 2007 - 04:32 PM

Ahh Adam.. so I am not going mad then.. whew! started to wonder.
Well got them to work after deleting about 15 times. Waste of time cause you think it is your code and waste time looking for errors that don't exist.

#3 Mr. Matt

    Moderator

  • P2L Staff
  • PipPipPipPip
  • 1,945 posts
  • Gender:Not Telling

Posted 01 April 2007 - 04:49 PM

a general tip with using firefox. Every time you update the CSS or Javascript, somthing bound to get Cached. In your html in the head where you call it, put a ? followed by a random string. That way it will update it each time, as firefox thinks it is a new page so will re-download it. An easy fix could be somthing like this:

<link rel="stylesheet" name="style" href="/css/style.css?<?=rand()?>" />

You need to have the page saved as .php for that to work. And then every time you update the page you don't need to clear your cache.

Matt

#4 _*Creative Insanity_*

  • Guests

Posted 01 April 2007 - 05:47 PM

Would that just cause the css file to be re-downloaded or the entire site?
If the entire site.. not a good solution.

#5 N-sane Noob

    Noob Leader

  • Publishing Betazoids
  • PipPipPip
  • 873 posts
  • Gender:Male
  • Location:Canada
  • Interests:Taking over stuff

Posted 01 April 2007 - 06:44 PM

I clear my firefox cache every 4 months or even more.

#6 Av-

    I Feel Left Out

  • Members
  • PipPipPipPip
  • 1,971 posts
  • Gender:Male
  • Location:10 ft. below sea level

Posted 01 April 2007 - 07:17 PM

Rather than the normal refresh try Ctrl+F5. Works for me :)

#7 Bug

    P2L Staff

  • P2L Staff
  • PipPipPipPip
  • 3,611 posts
  • Gender:Male
  • Location:Perth, Australia

Posted 01 April 2007 - 07:21 PM

Yeah I was gonna suggest Ctrl+F5

#8 Jacorre

    P2L Jedi

  • Members
  • PipPipPip
  • 824 posts
  • Gender:Male
  • Location:USA
  • Interests:Computers, Technology, Internet, Graphic/Web Design, Music, Soccer

Posted 01 April 2007 - 09:23 PM

Same here. Control + F5 updates it right away.

#9 Hayden

    P2L Jedi

  • Members
  • PipPipPip
  • 716 posts
  • Gender:Male
  • Location:Texas

Posted 01 April 2007 - 09:44 PM

View PostMr. Matt, on Apr 1 2007, 04:49 PM, said:

a general tip with using firefox. Every time you update the CSS or Javascript, somthing bound to get Cached. In your html in the head where you call it, put a ? followed by a random string. That way it will update it each time, as firefox thinks it is a new page so will re-download it. An easy fix could be somthing like this:

<link rel="stylesheet" name="style" href="/css/style.css?<?=rand()?>" />

You need to have the page saved as .php for that to work. And then every time you update the page you don't need to clear your cache.

Matt
good tip Matt. :)

View PostN-sane Noob, on Apr 1 2007, 06:44 PM, said:

I clear my firefox cache every 4 months or even more.
also you can check how many KB or MB your browser is caching. i normally set it really low so it doesn't cache everything but most people do not do this as the default is to set it high so Mr. Matt's suggestion might work as well. :)

#10 Mr. Matt

    Moderator

  • P2L Staff
  • PipPipPipPip
  • 1,945 posts
  • Gender:Not Telling

Posted 02 April 2007 - 02:25 AM

View PostCreative Insanity, on Apr 1 2007, 11:47 PM, said:

Would that just cause the css file to be re-downloaded or the entire site?
If the entire site.. not a good solution.

It only caches pages you have been to......

For me its a good soltuion, say your working on your live site, you keep making small css changes, by having the random string generated at the end of the css it will always keep your css up to date so people will see the site correct.

Matt





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users