9 Replies Latest reply: Jan 26, 2010 12:38 AM by Heavy Duty!
alpshiker Level 2 Level 2 (445 points)
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)
  • Golden Shoes Level 5 Level 5 (4,015 points)
    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.
  • alpshiker Level 2 Level 2 (445 points)
    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
  • Golden Shoes Level 5 Level 5 (4,015 points)
    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.
  • alpshiker Level 2 Level 2 (445 points)
    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!
  • alpshiker Level 2 Level 2 (445 points)
    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.
  • skillet Level 1 Level 1 (5 points)
    I am in the same boat with images in Frames and Safari doesn't refresh have you found a way around this yet with a command and not having to go through the hoops to opening another page. I just use another browser to really check what has changed but it would be nice if I could get Safari to do this.
  • Corne1971 Level 1 Level 1 (0 points)
    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é.
  • Jeff Peach Level 3 Level 3 (685 points)
    Our students log on to home folders on our Xserve. Right now, about 40 percent of our students launch Safari, get a white screen. It does not go to our school home page which is set by our WGM preferences. The only way we can get it to work is to clear the cache, log of, then log on it works.
  • Heavy Duty! Level 1 Level 1 (0 points)
    At the top it says this problem has been answered. Did I miss something? I tried the shift-command-r and no go, I have to go to my old replaced WINDOWS LAPTOP to check for website updates.. This *****! I don't swear, but I sure want to right now!