Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Developer
Posts: 178
Registered: ‎03-10-2011
My Device: Not Specified

OS 10.2, cached images delayed displaying

say I have 2 pages:

 

page 1: list of images, as simple as

<img src="http://xxxx/image1.jpg" onclick="gotopage2();"><br>

<img src="http://xxxx/image2.jpg" onclick="gotopage2();"><br>

<img src="http://xxxx/image3.jpg" onclick="gotopage2();"><br>

 

page 2: nothing but just shows when any image is clicked, action bar has Back button.

 

Now the problem is, whenever I back to page 1 from page 2, there are few seconds delay to display all images in page 1, those images are already downloaded when first time page 1 shows, why displaying images from cache has delay?

 

In OS 10.1, those images display immediately when back from page 2 to page 1, no delay at all.

 

Something changed in 10.2?

 

 

Developer
Posts: 1,229
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C
My Carrier: 3, Orange, Vodafone

Re: OS 10.2, cached images delayed displaying

You appear to be experiencing the exact same issue I have

 

I would keep an eye on my thread (3.86 seconds) so I can hopefully resolve this issue




Click the like button if you find my posts useful!
Developer
Posts: 178
Registered: ‎03-10-2011
My Device: Not Specified

Re: OS 10.2, cached images delayed displaying

I found a way to speed up loading images from cache:

 

in page 2, use window.open() to open any page, then close it. now everything in page 1 is back to normal, image list loads very fast just like what it does in OS 10.1

 

looks like loading from cache must be triggered by some behaviors such as window.open().

 

This is not right.

Developer
Posts: 178
Registered: ‎03-10-2011
My Device: Not Specified

Re: OS 10.2, cached images delayed displaying

Hello BlackBerry Team,

 

Any idea how this can be fixed? With official 10.2 release next month, I am a bit worry if you have time to fix those outstanding issues. I tested every leaked OS (so far 1761) but disppointed every time.

 

 

BlackBerry Development Advisor
Posts: 640
Registered: ‎10-01-2009
My Device: All
My Carrier: N/A

Re: OS 10.2, cached images delayed displaying

Hello,

 

Have either of you submitted an issue @ https://www.blackberry.com/jira/secure/Dashboard.jspa so the development teams are aware?

Developer
Posts: 178
Registered: ‎03-10-2011
My Device: Not Specified

Re: OS 10.2, cached images delayed displaying

that place does not seem to have a category for webworks project.
Highlighted
Developer
Posts: 178
Registered: ‎03-10-2011
My Device: Not Specified

Re: OS 10.2, cached images delayed displaying

i submitted the issue under BB10 category, hope they can forward it to webworks team.