PDA

View Full Version : Damn that Safari cache!!!




ravenvii
May 27, 2004, 12:17 PM
This is REALLY pissing me off!!!

Safari, for some retarded reason, randomly caches CSS style sheets, and simply refuses to let it go until a few days later!!! Even after emptying the cache, or resetting Safari, it still holds fast to the old sheet!

I design webpages, and update CSS files frequently. But I kept running into this retarded problem. One solution I found to work around this is to change the filename of the CSS file every time Safari does this.

Seriously people, this is so annoying and pissing me off.



jeremy.king
May 27, 2004, 12:33 PM
http://www.lordofthecows.com/safari_enhancer.php

kettle
May 27, 2004, 12:50 PM
How about keeping your CSS in with the HTML until you have the bulk of the design done, then when you've finished separate the CSS back to external files.

just a work around I'm affraid. :)

Hemingray
May 27, 2004, 01:04 PM
The easiest way I've found is, once you've uploaded the new external css, access that file DIRECTLY in Safari, ie: "http://www.blah.com/style.css". Then, refresh the page. Voila. The new style sheet is forced to download.

ravenvii
May 27, 2004, 04:18 PM
The easiest way I've found is, once you've uploaded the new external css, access that file DIRECTLY in Safari, ie: "http://www.blah.com/style.css". Then, refresh the page. Voila. The new style sheet is forced to download.

Nope, tried that. Went directly to the CSS file, and reloaded. Guess what? It still refuses to download the new one!!! Unbelievable, right?!

King Cobra
May 27, 2004, 04:23 PM
You're not using the latest version of Safari, either.

Update to 10.3.4 first (which has Safari 1.2.2 in it), the try again.

jeremy.king
May 27, 2004, 04:40 PM
Did you bother downloading Safari Enhancer in the link above? it will disable the cache altogether for you.

Hemingray
May 27, 2004, 04:51 PM
Nope, tried that. Went directly to the CSS file, and reloaded. Guess what? It still refuses to download the new one!!! Unbelievable, right?!

Yep, that takes the cake... Never had that happen before. Safari has always been good about loading new css files for me whenever I refresh... weird!