Menu

#88 Ad scripts should have 'defer' option or go to the page end

20. future releases
open
None
5
2008-04-16
2008-03-20
No

Currently when you come to the home page after a certain period of time (or clearing the cache) you can see at the bottom of the browser that in the middle of showing the page it calls tribalfusion server and waits for the ads to show, only after that it calls internetpolyglot.org for the picture.

There should be two measures:

1. Defer script loading.

Go over the code-base and find pieces of Google Adsense and Tribal Fusion scripts. Make sure that their beginning javascript portion has the 'defer' option.

Verify that this makes the initial loading of the home page main content faster after clearing the cache.

2. [TBD (to be discussed)] Try to place all the ads scripts in the footer.jsp - so that they are shown in a specific div that is defined previously. An example can be "banner" div in default.jsp

Discussion

  • Asanaliev Askhat

    Logged In: YES
    user_id=728634
    Originator: NO

    I have added the “defer” option, but it seems it doesn’t help much.

    Do you have anything to add to the option #2?

     
  • Misha Gavryuchkov

    • milestone: 773587 --> 20. future releases
     

Log in to post a comment.

MongoDB Logo MongoDB