maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   MicroB does not relad pages from the cache but server (https://talk.maemo.org/showthread.php?t=38802)

asidana 2009-12-30 12:55

MicroB does not relad pages from the cache but server
 
simple javascript
Code:

history.go(-1)
shouldn't it trigger reloading of page from the cache if page not set to expire instantly?

i noticed even pages that are set to expire hours later reloaded from the webserver instead of the cache. It is not the case with desktop browsers

slender 2009-12-30 13:05

Re: MicroB does not relad pages from the cache but server
 
Quote:

Originally Posted by asidana (Post 446571)
simple javascript
Code:

history.go(-1)
shouldn't it trigger reloading of page from the cache if page not set to expire instantly?

i noticed even pages that are set to expire hours later reloaded from the webserver instead of the cache. It is not the case with desktop browsers

Hmm. Actually whenever you press back button microb starts to load something. Off course some pages need to be refreshed, but for example Opera has been for ages fast because of its cache behavior. Pages should come from cache instantly.

asidana 2009-12-30 13:15

Re: MicroB does not relad pages from the cache but server
 
it should obey whatever page says. if it says always load me thats fine but if it says cache me for n minutes it should obey that. this would also save some precious bw when you are on gprs/3g.

could this be a bug?

tuminoid 2009-12-30 16:40

Re: MicroB does not relad pages from the cache but server
 
Did you check server logs to confirm this? Is there another requst to reload the page?

The point I'm trying to make is that despite being probably best browser for smartphones, its still not as fast as desktop browsers. Loading a page from cache isn't instant, it has to be rendered again and it looks like its getting it from the web, despite its loading it from cache. MicroB can't store all the rendered page as is in limited memory N900 has.

So, anyone with time to test it for real?

asidana 2009-12-30 17:09

Re: MicroB does not relad pages from the cache but server
 
i'll write up a simple page and try

asidana 2009-12-30 17:40

Re: MicroB does not relad pages from the cache but server
 
i think i am wrong.
i done some tests on my local pc and it doesn't reload page if expires set to longer than 0 seconds.

Maybe i other browsers dont obey this and when you hit back they load page from their cache. At least opera and pocket ie on windows mobile phones acted like that

sorodoros 2009-12-30 17:50

Re: MicroB does not relad pages from the cache but server
 
So it seems from this and other threads on this issue is that microb does not ever reload from cache. Bad programming choice IMO. Still a great browser, even with no (real) touch back or forward page, no reload from cache, and frequent blank (checkered) delayed page load.

tso 2009-12-30 18:14

Re: MicroB does not relad pages from the cache but server
 
would not surprise me if microb do not have a cache of the actual pages (tho perhaps the graphic elements) so as to conserve ram.

Ayle 2009-12-30 18:46

Re: MicroB does not relad pages from the cache but server
 
Quote:

Originally Posted by tso (Post 446938)
would not surprise me if microb do not have a cache of the actual pages (tho perhaps the graphic elements) so as to conserve ram.

The cache is in the rom, not the ram.

slender 2010-01-01 08:33

Re: MicroB does not relad pages from the cache but server
 
this would be nice to have on microb
https://addons.mozilla.org/en-US/firefox/addon/6371


All times are GMT. The time now is 21:09.

vBulletin® Version 3.8.8