Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Safari cache and page refresh

I am using sometimes Safari to check websites updates. The only way I have found to force Safari to refresh page contents is to load another page, empty the cache and go back to that page. Is there a way to set Safari to compare cache contents with the actual page every time a page is loaded or refreshed, like there is in other browsers? Or a keybord command to refresh? Thanks!

regards
paul

iMac Intel 24" white matt screen !!! - G4 Dual 500 - Cinema 22 - Powerbook 5,5, Mac OS X (10.5.8)

Posted on Dec 5, 2009 6:55 AM

Reply
9 replies

Dec 5, 2009 8:33 AM in response to Golden Shoes

No browser compares the contents of the cache before refreshing a page; pages are refreshed whenever you load the page or hit the reload button. Going back and forward from the page is not the same as reloading the page.


I think I wasn't clear enough. The reload button (clockwise arrow in the address bar) reloads the page but from the cache. Safari ignores changes made in the meantime on the distant page. That's why I have to leave the page, empty the cache and return to that page to see the changes. But I thought maybe there is an option somewhere that I didn't see...

And yes, Seamonkey has an option to compare the page in cache with the distant page each time the page is loaded, or reloaded, and updates it automatically. Very handy for website maintenance.

BTW, I think I recall that previous versions of Safari would call the actual page when shift was pressed while hitting the reload button. Not sure however. The actual version doesn't on my computer, at least not if the website uses frames.



Message was edited by: Paul Schilliger

Dec 5, 2009 4:37 PM in response to alpshiker

And yes, Seamonkey has an option to compare the page in cache with the distant page each time the page is loaded, or reloaded, and updates it automatically.


Sorry, but it doesn't have that ability; no browser does. You can disable the cache, as you can in most browsers, but you cannot compare the contents of a page at one point in time to the same page at another point in time.

You can force Safari to "repaint" the page using Shift-Command-R, which is useful when you make changes to the code or when some artifacts show up that shouldn't be there. But that won't necessarily get rid of that problem, in which case you would need to reload the page to cause the entire page to be redrawn from the beginning.

Dec 6, 2009 12:42 AM in response to Golden Shoes

Sorry, but it doesn't have that ability; no browser does. You can disable the cache, as you can in most browsers, but you cannot compare the contents of a page at one point in time to the same page at another point in time.


In SeaMonkey advanced preferences, cache, you have four options to choose from: Compare the page in cache to the page on the network: Every time I view the page - Once per session - When the page is out of date - Never. The first option shows automatically the latest changes to the page and is very handy. I wish that other browsers would include that feature as well.

I suspect that the problem I'm having with the reload function in Safari comes from using frames, and an action to force pages to open within a frame. I know that this sort of website architecture is being dropped off.

thanks!

Dec 7, 2009 3:03 AM in response to alpshiker

I was wrong, saying that Safari doesn't check if the page in cache has been updated on the server. In fact it does, or at least going back and forward brings up the updated page code, and works also in a frames environment. But contents linked such as images are not checked, and if they have been modified while still in cache, the cache needs to be emptied to load a new version, since there is no such option as navigating with no cache at all.

Jan 21, 2010 3:32 AM in response to skillet

Old post, new guy with the same problems. I update my own website regularly, the site is using frames. Unfortunately I cannot review the page updates with Safari because of this caching thing. Today I'm using Safari 4.0.4. and still there seems no solution to this, or a shift-command-option-control-whatever-R forced reload method. Is there really no solution for this? Thanks in advance!

All the best,
Corné.

Safari cache and page refresh

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.