Loading...
web2.0

BlogBang ralentit les sites et blogs


Pour monétiser son blog ou site, il existe des régies publicitaires comme blogbang ou ebuzzing qui fournissent des scripts javascript à insérer sur ses pages. On aura ainsi des vidéos publicitaires affichées sur ses pages.

Mais avant d’installer des scripts venant d’autres serveurs, il est préférable de tester si ce script ne va pas bloquer la page et ralentir fortement votre site.
Au pire le script bloque le chargement de la page et vos visiteurs impatients quittent votre site.
Pour tester les temps de réponse des scripts blogbang, j’ai monitoré les temps de réponse d’une page ne contenant que le script de la régie.

Les résultats sur le mois d’avril ne sont pas bons : 10 erreurs http, temps de réponse maxi de 8s au lieu de 0,04s pour le mini.
Les blocages complet de la page soit 10 par mois durent environ 15 minutes.

Si vous voulez garder tout de même cette régie, il est donc préférable de mettre le script javascript en fin de page du code.
On insérera le code via ajax au domready.
Dans votre page placer une div id= »pub » à l’emplacement où vous désirez qu’elle apparaisse.

Pour JQuery (cas WordPress):


Et en fin de page de votre code code le script de blogbang avant la balise /body

Dans votre css la div blogbang sera masquée:

#blogbang{
        display: none;
}
14 comments
  1. Piokaz

    Hum.. pour le display:none.. à quel moment tu le remets en display:block ?
    Le code jquery que tu as donné ne fait que déplacer une div.

    Je l’ai pas testé (je l’utilise plus blogbang) , mais ça m’a fait « tilt ».

  2. Jordi

    @Piokaz bien vu! Je suis allé trop vite sans tester car moi aussi j’ai abandonné cette régie.
    Il faut ajouter un show :
    $(« #blogbang »).show();

  3. lebron 18

    I wish to show my appreciation for your generosity in support of people who absolutely need assistance with your field. Your real dedication to passing the message all-around was quite useful and have always allowed guys much like me to attain their ambitions. The useful tips and hints denotes a lot to me and additionally to my mates. Best wishes; from everyone of us.

  4. curry 8

    I wish to voice my respect for your kindness in support of persons that must have help with your topic. Your personal dedication to getting the message around ended up being wonderfully interesting and has usually made many people like me to achieve their pursuits. Your entire warm and helpful useful information denotes a lot to me and further more to my office colleagues. Thanks a ton; from each one of us.

  5. supreme clothing

    I intended to compose you one very small word so as to say thanks once again about the amazing opinions you have featured in this case. It’s really pretty generous of you giving freely what many of us could possibly have distributed for an e book to get some money for themselves, especially given that you might well have tried it if you ever decided. Those concepts additionally acted like a great way to be aware that someone else have a similar eagerness similar to mine to realize good deal more around this condition. Certainly there are lots of more enjoyable situations in the future for those who browse through your site.

  6. curry 8

    I needed to create you a very small remark to help give many thanks yet again on the awesome views you have documented in this article. It was quite shockingly generous with you giving unreservedly exactly what a number of us could have distributed for an e-book to end up making some profit for their own end, principally seeing that you might well have tried it if you ever considered necessary. The solutions as well served to become fantastic way to realize that other individuals have a similar fervor similar to my very own to find out a lot more pertaining to this matter. I’m certain there are some more enjoyable situations up front for folks who see your blog.

  7. kyrie 7 shoes

    I truly wanted to send a simple comment so as to appreciate you for all of the great tactics you are posting here. My extended internet search has now been rewarded with awesome facts to share with my family members. I would tell you that we readers actually are really endowed to exist in a wonderful community with many special individuals with valuable tips. I feel pretty fortunate to have seen your entire web site and look forward to really more fun minutes reading here. Thanks again for all the details.

  8. kyrie 6

    I precisely wanted to appreciate you once again. I’m not certain what I would’ve handled without those points discussed by you on such a subject. It absolutely was the alarming concern in my view, but coming across a new skilled style you resolved it took me to cry for joy. Now i am grateful for this work and even have high hopes you really know what an amazing job you have been undertaking instructing many others by way of your websites. Most likely you have never come across any of us.

  9. steph curry shoes

    I must voice my respect for your kindness for folks that should have help with this particular study. Your special dedication to getting the message all through became especially powerful and have really encouraged girls just like me to arrive at their objectives. Your entire helpful information implies so much to me and especially to my office workers. Warm regards; from each one of us.

  10. a bathing ape

    I needed to write you that little remark in order to give many thanks once again for those incredible tactics you’ve provided at this time. This has been simply shockingly open-handed with you to give unreservedly exactly what numerous people would’ve advertised for an e-book in order to make some cash for their own end, chiefly considering the fact that you could have done it if you ever desired. Those principles as well served to be the good way to fully grasp that other people online have a similar passion the same as mine to know the truth a lot more on the topic of this matter. I know there are a lot more pleasant instances in the future for individuals who discover your site.

  11. yeezy 700

    I precisely needed to thank you so much all over again. I do not know the things I could possibly have made to happen in the absence of the actual suggestions contributed by you relating to this topic. It seemed to be a real fearsome issue in my circumstances, nevertheless being able to see a new skilled fashion you resolved it made me to weep with contentment. I am just grateful for this guidance and as well , have high hopes you are aware of an amazing job that you are getting into training the mediocre ones with the aid of a blog. Most likely you have never got to know all of us.

  12. supreme hoodie

    I wanted to compose a brief note to thank you for these unique tactics you are writing on this site. My prolonged internet look up has at the end of the day been honored with brilliant details to write about with my colleagues. I ‘d assert that most of us visitors actually are definitely lucky to be in a wonderful network with very many lovely individuals with very helpful tips and hints. I feel very much happy to have encountered your webpages and look forward to tons of more fun minutes reading here. Thanks again for a lot of things.

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *