Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

If I surf to a page and then leave the browser for a while, when I open up the browser again it still shows the content of the page - but after a second or so it initiates a refresh. Is there a way to stop this behavior?

I have experienced the same behavior in Dolphin Browser, fwiw.

share|improve this question
1  
+1 I hate this too –  Bryan Denny Sep 29 '10 at 17:47
    
YES, WHY?!?! PLEASE STOP RELOADING! Thanks for asking this. –  Matt Sep 30 '10 at 2:31
    
Found a solution, see my update in my answer. –  Webs Sep 30 '10 at 12:37

1 Answer 1

up vote 1 down vote accepted

I've noticed this with Dolphin as well, but in my findings it is not actually refreshing the page, rather I think it is reloading the cached content of the page. I'm pretty sure this is whats going on because at work we have a guest wireless system that requires authentication. When I connect my phone to it and browse I have to login with credentials at a landing page. This page doesn't come up right away after opening Dolphin browser, even though I sit and wait for Dolphin to load up the page. I have to hit refresh and then I am redirected to the landing page to login.

I hunted for a cache setting that may improve this annoyance, but didn't find one. We might have to wait for an update to the app.

Update:

This should HELP solve the problem for root users, I say help because there still may be some refreshing that occurs.

The problem:

Android is set to offload the browser cache from memory to the local partition (where apps are stored) when you leave the browser. This is because most android phones still don't have much space in the partition where apps and such are installed. My Evo only has 400mb of space.

My best guess is that Android was set to work this way because originally phones didn't have much space to work with. No that is becoming less of an issue.

Possible Solutions:

  1. For rooted users only: Download Swapper2. From what I have read in other forums, this makes a huge difference in how often the browser offloads cache to the local partition. And users have reported it makes a big difference.
  2. Set Dolphin browser to store cache on the SD card. Maybe if the browser doesn't have to wait for cache to be shuffled around it wont refresh as much, or if it does still refresh, maybe it will take less time.

What did I do? I installed Swapper2 and wow. It really works. Now I can open Dolphin and not have to wait for refresh. Finally!!

share|improve this answer
    
Quite possibly Android unloaded the browser app, but saved a screenshot of the last view, then when it reloads the app back to its full in-memory state, it re-renders from the cache? That's just a guess, but it would fit with the developer guidelines on how to handle the application lifecycle. –  Mufasa Sep 29 '10 at 18:41
1  
I just tried to replicate the behavior while in airplane mode and it didn't refresh. That doesn't really mean anything, though - it could just have been that the browser hadn't unloaded. –  Zaz Sep 29 '10 at 21:32
    
Airplane mode kills any network connection the phone has. Why test with that? Just try browsing as normal the issue isn't hard to replicate at all as it is basic functionality of the Dolphin browser. –  Webs Sep 29 '10 at 23:23
2  
@webs: Because while in airplane mode if the page is actually reloading it will fail but if its just reloading the cached page as u suspect then the page should load fine. –  Matt Sep 30 '10 at 2:28
    
Duh! I can't believe I missed the obvious there. Still not a definitive test for sure though. Also I think I found a solution and I will update my answer with new info... –  Webs Sep 30 '10 at 12:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.