Current time: 07-24-2019, 01:26 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Website goes blank for 4 - 5 seconds after initial 6 seconds
01-22-2015, 04:01 PM
Post: #1
Website goes blank for 4 - 5 seconds after initial 6 seconds
Hi All,

I ran test on my various pages and found a similar pattern.

1) Page start loading goes upto 50 to 60% visual progress
2) Page Blanks out for 4 - 6 seconds
3) Then re-appears with complete content

   

Full Results here
http://www.webpagetest.org/video/compare...T1-r:1-c:0

and

http://www.webpagetest.org/result/150122_J0_AT1/


PS: This is a mobile website and am testing on Android device

Also let me know on what other good things can I do to
1) Decrease the total time from 10 seconds
2) First visual comes around 4 seconds - how to improve this
3) I am using Jquery and it has too many js files that I need to add on all my pages. Even though I am using Compression (gzip) and Caching, it is still taking too much size and number of files - how can I reduce this to improve the overall performance

Any other major/minor flaws that can be pointed out?

I would really appreciate help.

Regards
Vinit
Find all posts by this user
Quote this message in a reply
01-29-2015, 01:27 AM
Post: #2
RE: Website goes blank for 4 - 5 seconds after initial 6 seconds
Hard to say for sure, there is a LOT of Google ad code running at that time and your jquery code also runs around that time.

My guess is whatever JS framework you are using to draw the UI is at fault.

Something in js is handling drawing/moving the UI and it looks like it may wait to display until all of the images have loaded.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-29-2015, 01:33 AM
Post: #3
RE: Website goes blank for 4 - 5 seconds after initial 6 seconds
To answer your "how to improve" questions...

1 - The page doesn't look visually complicated and shouldn't require JS for the drawing. You should use plain html and css for laying out the page and then use js to add functionality as needed.

2 - Consider inlining the above-the-fold thumbnails as data URIs and lazy-load the other images. It looks like the thumbnails are all small (~3KB) and that would get them delivered a lot faster. That comes at the cost of being cacheable though so you'll have to weigh that a bit.

3 - Take a look at how the ad code is implemented. There seems to be a lot of it and if you speed up everything else it will still push out your actual load times.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-30-2015, 04:44 PM
Post: #4
RE: Website goes blank for 4 - 5 seconds after initial 6 seconds
(01-29-2015 01:27 AM)pmeenan Wrote:  Hard to say for sure, there is a LOT of Google ad code running at that time and your jquery code also runs around that time.

My guess is whatever JS framework you are using to draw the UI is at fault.

Something in js is handling drawing/moving the UI and it looks like it may wait to display until all of the images have loaded.

Thanks Patrick - I have the issue and resolved it
Issue was that in order to improve the PLT, I had put async on all js files and it was causing the issue.

The moment, I had removed the async there is no more dip in the visibility or the blank screen
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)