2

I'm developing xhtml page for wap applications and have a problem with the first page load in Opera Mini. Not the entire page content is displayed correctly the first time on screen, a lot of graphics elements are absent.

But right after the page refresh everything is displayed correctly. How to solve this problem during the first page loading ?

David d C e Freitas
  • 7,481
  • 4
  • 58
  • 67
Alex
  • 21
  • 1
  • 2
  • That is strange, is the first page load any slower/faster than the subsequent. The Opera Mini clients uses servers at the backend to render the page, so just because it's broken now means they will still be able to fix it on their backend without having to release a new client version. – David d C e Freitas Sep 16 '11 at 12:30
  • Also, when I have moved all css styles from external file to the of html page, everything works perfectly. Something is broken with loading css styles from external file. But I want to leave my css in my styles.css file. – Alex Sep 16 '11 at 18:56
  • A typical solution would be to automatically include the css data in the page using server side script - for example, google's mod_pagespeed for Apache does this - http://code.google.com/speed/page-speed/docs/filter-css-inline.html – David d C e Freitas Sep 16 '11 at 20:12
  • David, thanks for this solution, but unfortunately my css file is a quite big and I want to leave it in separated file. I have analized some other wap resources and found the similar problem with loading background images from external css files. I have created bug report for this problem. How quickly Opera team can react on this ? – Alex Sep 17 '11 at 08:15
  • other similar problem - http://dev.opera.com/forums/topic/1077682 – Alex Sep 17 '11 at 08:35
  • What's the bug's number? I'm afraid WAP doesn't have super-high priority development-wise these days. – hallvors Sep 20 '11 at 08:52

1 Answers1

0

Are the images absent entirely, or do they appear as colored boxes first?

When using Opera Mini on a slow connection, the page will often load with colored boxes instead of images. The images will quickly appear if you scroll or reload the page. They'll also appear if you wait several seconds. That's how Opera Mini is intended to work.

If what I've described above isn't what's happening, let us know, and consider filing a bug report.

webinista
  • 3,750
  • 1
  • 20
  • 21
  • I have created bug report with the ID: SKIRNE-144876 – Alex Sep 28 '11 at 12:42
  • My connection is 10MB/s, I have reproduced this bug in Opera Mini on my Nokia n96, HTC Sensation and Iphone 4 and in online Opera Mini simulator. Also, if I have moved css styles from external file into HTML page everything works correctly even without page refresh. How quickly this problem could be solved by Opera team ? – Alex Sep 28 '11 at 12:49