CookieJarApps / SmartCookieWeb

A secure, open source web browser for Android.
Mozilla Public License 2.0
297 stars 39 forks source link

Caching/Reloading content #232

Closed xandro0777 closed 3 years ago

xandro0777 commented 3 years ago

Noticed that SCW does some kind of refresh/reload quite often, even in situations where I would not expect it. For example SCW is "on top", screen locks after a timeout - after unlocking it seems to reload the page. Same if SCW was briefly in the background. Whats more, caching apparently won't cache much.

RickyM7 commented 3 years ago

Duplicate of #193 (and #125, I guess).

xandro0777 commented 3 years ago

In my case the reload appears to happen even if the page was previously fully loaded, which doesn't seem to be the case with #193 ?

As of #125 so far I can only say other browsers apparently caching reduces network load much more significantly - even though I didn't close any tabs and didn't exit the browser. Other browsers also regularly consume much more memory so it is a tradeoff.

Duplicate of #193 (and #125, i guess

RickyM7 commented 3 years ago

In my case the reload appears to happen even if the page was previously fully loaded, which doesn't seem to be the case with #193 ?

Even if the page has loaded completely, if a component has not loaded completely (e.g. an image of the page), the page will reload. I think this is the same case as #193, but it's best to leave the issue open until this is confirmed.

As of #125 so far I can only say other browsers apparently caching reduces network load much more significantly - even though I didn't close any tabs and didn't exit the browser. Other browsers also regularly consume much more memory so it is a tradeoff.

The biggest problem in #125 is the fact that the cache is re-stored every time the app is minimized and the other problem cited is the 'User Date' which is not cleaned after a certain time, even if you clear cookies, etc.

Note: Looking better, it seems that one of your problems is almost the "inverse of #125, because the cache is not being stored (or little cache is being stored), right?

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.