edgewise

Q: Problem with safari's cache in ios 5

Since I installed iOS 5, Safari does something it's not supped to do... When I navigate to a page that I've visited recently, Safari loads the page from its cache, rather than checking for and displaying more recently-posted content.

 

For example, if I visit the home page of the New York Times, it shows me yesterday's news. I can only view today's news by tapping the Reload icon. If I then tap an article's headline and go to another page to read the article, when I tap the Back button to return to the home page, it again displays yesterday's news, and I have to tap Reload to re-display today's stories.

 

Anyone having the same problem, or know of a solution? Thanks.

iPad 2

Posted on Oct 14, 2011 7:30 AM

Close

Q: Problem with safari's cache in ios 5

  • All replies
  • Helpful answers

first Previous Page 4 of 8 last Next
  • by aesculus,

    aesculus aesculus Nov 10, 2011 2:04 PM in response to aesculus
    Level 1 (0 points)
    Nov 10, 2011 2:04 PM in response to aesculus

    Just an update that 5.01 does not fix this problem and it continues to haunt me.

  • by Skaelight,

    Skaelight Skaelight Nov 11, 2011 9:44 AM in response to edgewise
    Level 1 (0 points)
    Nov 11, 2011 9:44 AM in response to edgewise

    Here's a theory, made without empirical testing but with an observation and an assumption.

     

    I am going to assume that the introduction of tabbed browsing on the iPad brought the software code base of Safari on iOS closer to that on OS X. One of the features you see on OS X Safari is the grid of sites you visit regularly. That feature displays a small version of the web-page of those sites at a point of time.

     

    If I remember correctly the old method for interaction with multiple sites on iOS prior to tabbed browsing was to click on a button which gave you a grid of your currently open sites.

     

    In each case, I am assuming that the grids use a cache to render a likeness of those sites.

     

    What if during the introduction of tabbed browsing into the iOS ecosystem for Safari, the code elements for the grids was not merged successfully. This could result in iOS safari remembering what a page was like for the purpose of keeping 'a grid', but having no ability but not the bits necessary to refresh those cached snapshots.

     

    The resulting behaviour would be similar to what we are experiencing. The iOS Safari experience is displaying the original page as if it was being rendered in a grid when you hit the back button; but isn't refreshing the cache.

     

    Food for thought.

  • by mr2400,

    mr2400 mr2400 Nov 15, 2011 9:07 AM in response to aesculus
    Level 1 (0 points)
    Nov 15, 2011 9:07 AM in response to aesculus

    I am having issues with my site working with iOS 5 as well.  I tried to detail the problem in this post http://trac/storm/ticket/17113http://stackoverflow.com/questions/7988967/problems-with-page-cache-in-ios-5-saf ari-when-navigating-back.  From what I can tell, all other browsers are firing the pagehide event, then the unload event, but not Safari on iOS 5, it only fires pagehide.

     

    Message was edited by: mr2400

  • by aesculus,

    aesculus aesculus Nov 15, 2011 10:14 AM in response to mr2400
    Level 1 (0 points)
    Nov 15, 2011 10:14 AM in response to mr2400

    My guess is that the Unload event is not firing because the page does not actually unload, hence our problem. The system retains the web pages until it feels like discarding them.

  • by PastorOfMuppets,

    PastorOfMuppets PastorOfMuppets Nov 17, 2011 11:20 AM in response to edgewise
    Level 1 (0 points)
    Nov 17, 2011 11:20 AM in response to edgewise

    I beleve this issue is related, but it's existence doesn't really explain what's going on.  I'm working on a webpage designed to be accessed from a shortcut added to the home screen.  I've gotten Safari to clear its cache from time to time, but I can delete and recreate the home scren link, and it never seems to load new code.  No matter how many times I clear Safari's internal cache, the external home screen-based link always uses the code that existed the first time it wsa created.  I can delete the shortcut, and re-create it with a different name, but the old code is still prevalent.

     

    Ugh.

  • by aesculus,

    aesculus aesculus Nov 17, 2011 11:54 AM in response to PastorOfMuppets
    Level 1 (0 points)
    Nov 17, 2011 11:54 AM in response to PastorOfMuppets

    PastorOfMuppets:   Your observations align with mine.  The jury is still out if 5.01 helps at all but I can attest its still there. It makes using the native device for debugging just about useless and you cringe when you deploy a new code base because you don't know what its going to do to your users.

  • by mike_gh,

    mike_gh mike_gh Nov 18, 2011 9:23 AM in response to edgewise
    Level 1 (0 points)
    Nov 18, 2011 9:23 AM in response to edgewise

    Same problem. iPad 2, iOS 5.0.1.    Very annoying.

  • by samuel114,

    samuel114 samuel114 Nov 25, 2011 7:30 PM in response to edgewise
    Level 1 (0 points)
    Nov 25, 2011 7:30 PM in response to edgewise

    Same problem here. iPad 2, iOS 5.0.1.  This is a nasty bug, needs to be fixed

  • by liyang.kuang,

    liyang.kuang liyang.kuang Nov 26, 2011 11:42 PM in response to samuel114
    Level 1 (0 points)
    Nov 26, 2011 11:42 PM in response to samuel114

    same problem here !

    Apple please support urgently !!!!!!

  • by liyang.kuang,

    liyang.kuang liyang.kuang Nov 27, 2011 12:25 AM in response to edgewise
    Level 1 (0 points)
    Nov 27, 2011 12:25 AM in response to edgewise

    As an alternative just installed Opera mini and works great !

    Apple please Supooooooooooooooort !

  • by Dhark,

    Dhark Dhark Dec 6, 2011 9:06 AM in response to edgewise
    Level 1 (0 points)
    Dec 6, 2011 9:06 AM in response to edgewise

    Same issue here. I hope there is a solution soon. Clearing cache, cookies, and history doesn't work to fix the issue.

  • by jpozuk,

    jpozuk jpozuk Dec 6, 2011 9:14 AM in response to Dhark
    Level 1 (50 points)
    Dec 6, 2011 9:14 AM in response to Dhark

    Frankly, I would be happy if safari would stop crashing (another thread).  Really think apple pushed this release out way to soon.

  • by aesculus,

    aesculus aesculus Dec 6, 2011 9:14 PM in response to edgewise
    Level 1 (0 points)
    Dec 6, 2011 9:14 PM in response to edgewise

    I have done some non official testing and believe Safari with iOS5.01 may be fixed for caching if not run as a homescreen bookmark. When  I bookmark a page onto the homescreen is when I have noticed the caching behavior.

     

    We might need a few others to see if this is actually case or it just my limited testing. 

     

    I noticed that with 5.01 if I execute a web url (or homescreen webapp) it caches. If I run it putting in the url into safari or using the safari refesh it seems to be OK.

     

    This is not an acceptable solution but just trying to hone in on what potentially might be scope of this in the hopes Apple will be understand the issue.

  • by edgewise,

    edgewise edgewise Dec 7, 2011 6:56 AM in response to aesculus
    Level 1 (110 points)
    Dec 7, 2011 6:56 AM in response to aesculus

    I see the erroneous caching every day, and I'm not using home screen bookmarks. The caching error occurs when you navigate to a frequently-updated page (page A), then navigate away from it (to page B), then return to page A via the Back button. When page A is re-displayed, Safari loads a cached version from two days ago. The bug doesn't occur unless you have a two-day-old version of page A in your cache.

  • by roobydoo,

    roobydoo roobydoo Dec 9, 2011 7:40 PM in response to edgewise
    Level 1 (0 points)
    Dec 9, 2011 7:40 PM in response to edgewise

    Impractical to be constanting emptying one's cache. This is probably a minor fix but Apple has to take notice and resolve it because it is an ongoing frustration.

first Previous Page 4 of 8 last Next