Loading...
web2.0

Accélérer optimiser son site

Google a annoncé récemment qu’il tiendrait compte dans son page rank de la vitesse d’affichage des sites.  Cette déclaration a ému la communauté. En effet, les hébergements gratuits et sous-dimensionnés risquent de pâtir de cette règle.

En attendant de voir si Google mettra ce projet à exécution, voici quelques outils que Google met à disposition des webmasters pour optimiser la vitesse d’affichage de leur site.

Page Site est un add-on Firebug/FireFox

Une fois installé, on ira sur FireFox sur Outils>FireBug>Ouvrir FireBug puis sur l’onglet Page Speed on lancera l’application :

Page Speed indiquera les bonne règles à suivre :

  • Mettre les CSS avant les javascripts dans le head
  • de préférence mettre tous les css dans un seul fichier <link> mieux que @import
  • mettre les autres javascripts en bas de page
  • Donner des tailles aux images width et height
  • balise meta cache expiration (le navigateur gardera en cache la page)
  • compresser les CSS et javascripts par exemple minify YUI Compressor
  • réduire la taille des images
  • préférer les png aux gif
  • utilisation d’un cache pour les pages dynamiques (exemple total cache pour WordPress)
  • utiliser Google CDN

Le dernier point utiliser Google CDN peut paraitre obscur. La plupart des sites, abritent leur bibliothèque JavaScript sur leur propre serveur. Alors pourquoi utiliser des javascripts hébergés sur un serveur Google? Voici un certain nombre d’avantages:

1. Google Content Distribution Network possède des bibliothèques sur leurs différents serveurs à travers le monde et si vous utilisez leurs liens, lorsqu’ un internaute se connecte sur votre page, son navigateur télécharge automatiquement le fichier depuis le serveur le plus proche disponible, ce qui sera un téléchargement beaucoup plus rapide que si vous forcer un utilisateur à télécharger le fichier sur votre serveur hôte.
2. La distribution de contenu de Google réseau vous permettra d’économiser beaucoup de bande passante si vous avez un très gros trafic sur votre site et une bande passante limitée avec votre hébergeur.
3. Il y a de fortes chances que le système Google version hébergée de cette bibliothèque soit déjà mis en cache sur le cache du navigateur de l’utilisateur, car beaucoup de gros sites utilisent ce système.

Comment utiliser Google CDN?

Google CDN fournit la plupart des scripts, des bibliothèques JavaScript open source. On peut faire appel à ses codes de deux façons soit par la voie directe avec les
tags et via les bibliothèques Google AJAX API.

Utilisation Google API :

<script src="http://www.google.com/jsapi"></script>

et :

<script>
google.load("jquery", "1.3.2");
google.load("jqueryui", "1.7.1");
    google.setOnLoadCallback(function(){
        // use this instead of:
        /*
            $(document).ready(function(){  });
        */
    });
</script>

On trouvera ici la liste des librairies fournies par Google.

32 comments
  1. curry 6 shoes

    I wish to show my gratitude for your kind-heartedness for persons who need help with this important area of interest. Your special dedication to passing the solution across ended up being astonishingly beneficial and have surely allowed many people much like me to realize their desired goals. Your own valuable advice entails a great deal a person like me and additionally to my office workers. With thanks; from everyone of us.

  2. golden goose

    I and my friends were found to be examining the excellent information on the website and then at once got a horrible feeling I never expressed respect to the blog owner for them. These men ended up as a result joyful to read through all of them and already have honestly been tapping into these things. Thank you for really being very considerate and for picking varieties of impressive topics most people are really eager to be aware of. Our own honest regret for not saying thanks to sooner.

  3. bape

    I needed to put you the bit of word to finally say thank you again for those fantastic solutions you have provided at this time. This is pretty generous with people like you to offer unhampered just what a lot of folks might have distributed for an e-book to get some bucks for themselves, primarily since you might have tried it in case you wanted. The solutions as well acted to be the easy way to fully grasp other people online have the identical passion similar to my own to grasp good deal more with regard to this matter. I believe there are numerous more fun occasions in the future for those who scan your blog.

  4. kawhi leonard shoes

    I wish to convey my affection for your kindness for persons that really need help on this particular topic. Your real commitment to passing the solution throughout came to be certainly productive and has empowered workers much like me to realize their dreams. Your new warm and helpful guide denotes a great deal a person like me and somewhat more to my office workers. Warm regards; from all of us.

  5. supreme clothing

    Needed to draft you this very little word just to thank you so much over again for these nice techniques you have provided on this page. It was simply shockingly open-handed of people like you to make easily what a lot of people could possibly have made available for an e-book to get some money on their own, principally now that you could have tried it if you desired. These tactics in addition acted to become great way to realize that other people online have a similar fervor the same as my very own to understand lots more regarding this problem. I think there are several more enjoyable periods up front for folks who looked over your blog.

  6. goyard outlet

    I definitely wanted to make a simple comment so as to say thanks to you for these fabulous tactics you are sharing on this site. My time-consuming internet investigation has at the end been recognized with good quality facts to talk about with my great friends. I ‘d state that that most of us readers actually are quite fortunate to be in a fine network with very many wonderful professionals with very beneficial opinions. I feel rather blessed to have discovered the webpage and look forward to tons of more excellent minutes reading here. Thank you again for everything.

  7. yeezy

    A lot of thanks for every one of your efforts on this site. My mum enjoys going through investigations and it’s easy to understand why. Many of us notice all regarding the dynamic means you give precious tips and hints on your website and invigorate contribution from visitors on that concern while our favorite daughter is always studying so much. Take advantage of the remaining portion of the new year. You are carrying out a great job.

  8. curry shoes

    I simply had to appreciate you yet again. I’m not certain what I would have accomplished in the absence of the entire opinions shown by you over that concern. Certainly was a depressing scenario in my circumstances, but spending time with the very specialised form you dealt with it forced me to leap over joy. I am just thankful for this help and even trust you realize what an amazing job you were doing instructing the others using a site. Most probably you haven’t met all of us.

  9. bape clothing

    I have to show my respect for your generosity giving support to persons who must have help on this important concern. Your personal dedication to passing the message all over was particularly effective and have really empowered associates like me to realize their desired goals. Your warm and friendly help indicates so much to me and even more to my fellow workers. Regards; from everyone of us.

  10. supreme

    I have to voice my appreciation for your kind-heartedness supporting men who absolutely need help on this particular theme. Your special commitment to getting the solution all through turned out to be wonderfully advantageous and has all the time helped most people much like me to arrive at their pursuits. Your personal helpful useful information implies a lot to me and extremely more to my mates. Thanks a lot; from each one of us.

  11. lebron 16

    I wanted to send you a very little observation so as to say thanks a lot the moment again on your nice secrets you have provided in this case. It has been really extremely open-handed with you to grant unhampered what exactly many people would’ve made available for an e-book to earn some cash for themselves, chiefly since you could have done it if you ever considered necessary. Those suggestions as well acted to become easy way to know that other individuals have a similar desire really like my own to figure out a lot more with reference to this issue. I am sure there are lots of more fun occasions ahead for many who looked over your site.

  12. kyrie 7

    My spouse and i were very comfortable when Albert managed to finish up his investigation from your ideas he grabbed when using the blog. It’s not at all simplistic to just find yourself freely giving secrets people have been trying to sell. And we also do know we have got the writer to give thanks to for that. All the explanations you’ve made, the straightforward site navigation, the relationships you help foster – it is mostly great, and it’s helping our son and the family reason why this topic is excellent, which is certainly quite important. Many thanks for the whole lot!

  13. chrome hearts online

    I would like to convey my appreciation for your kindness giving support to those people that really need assistance with your issue. Your special dedication to getting the solution throughout has been definitely invaluable and have continually helped associates like me to arrive at their targets. This insightful guideline implies a lot a person like me and much more to my office colleagues. Thank you; from each one of us.

  14. golden goose sneakers

    I precisely wanted to thank you very much yet again. I’m not certain what I would have used in the absence of the type of creative concepts shown by you about that situation. It seemed to be an absolute frightful matter in my opinion, however , finding out your specialized style you handled that took me to cry over joy. I will be happier for the help and thus wish you know what a great job you are undertaking teaching most people via a blog. I am certain you’ve never come across all of us.

  15. fear of god t shirt

    I have to get across my admiration for your kindness giving support to persons that require help with this topic. Your very own dedication to getting the message around appeared to be pretty significant and has without exception encouraged professionals like me to attain their ambitions. Your amazing warm and friendly tips and hints can mean a lot a person like me and even more to my office workers. Many thanks; from everyone of us.

  16. kyrie shoes

    My husband and i felt now thankful Louis could complete his research via the precious recommendations he acquired while using the weblog. It’s not at all simplistic to just find yourself releasing procedures which many others have been selling. And we all fully grasp we need the writer to give thanks to because of that. Those illustrations you’ve made, the straightforward website navigation, the relationships you can make it easier to promote – it’s got all remarkable, and it is helping our son in addition to our family do think that content is thrilling, which is exceedingly essential. Thank you for the whole lot!

  17. yeezy

    I wish to point out my gratitude for your generosity supporting people who require help on this concern. Your real dedication to getting the message all over turned out to be exceptionally informative and has continually helped folks much like me to achieve their targets. This informative guidelines means so much to me and substantially more to my mates. Regards; from each one of us.

  18. yeezy 350

    I must voice my respect for your generosity for individuals who need guidance on in this situation. Your personal commitment to getting the solution along ended up being exceedingly important and have really enabled ladies like me to arrive at their targets. Your interesting suggestions denotes a great deal a person like me and further more to my office colleagues. Warm regards; from everyone of us.

  19. russell westbrook shoes

    I wish to voice my appreciation for your generosity in support of those people that really need assistance with this one study. Your special dedication to passing the solution all-around had become certainly beneficial and have consistently allowed regular people just like me to get to their endeavors. Your own interesting facts means this much a person like me and even further to my office workers. Warm regards; from each one of us.

  20. supreme outlet

    Needed to put you one very small remark so as to give many thanks again for those pretty solutions you have discussed on this site. This is quite incredibly generous of you to make without restraint just what many of us might have offered as an e-book to get some dough for themselves, especially given that you might well have tried it in the event you wanted. These secrets likewise worked to provide a easy way to fully grasp other individuals have the same eagerness just like my very own to find out a great deal more with regard to this matter. I’m sure there are millions of more pleasurable sessions in the future for individuals that looked over your website.

  21. curry 8

    I precisely desired to thank you very much again. I’m not certain the things that I would’ve followed in the absence of the solutions contributed by you relating to such situation. This was an absolute horrifying crisis in my position, nevertheless considering a new skilled approach you processed it forced me to weep over delight. Now i am thankful for this guidance and hope you comprehend what a great job that you are providing instructing other individuals by way of your webpage. Most likely you’ve never met all of us.

  22. bapesta

    I precisely had to say thanks again. I am not sure the things I might have sorted out without the type of tactics shown by you over this theme. This was a scary issue in my view, nevertheless observing the professional fashion you treated that forced me to leap over fulfillment. I’m just thankful for this service and sincerely hope you know what a great job that you are doing teaching many people with the aid of your site. Most likely you haven’t got to know any of us.

  23. yeezy wave runner 700

    I must get across my respect for your kind-heartedness for visitors who really want help with this important subject. Your special commitment to passing the message across appeared to be pretty valuable and have frequently helped others just like me to get to their objectives. The helpful advice can mean a great deal to me and especially to my colleagues. With thanks; from all of us.

  24. jordan travis scott

    I enjoy you because of your own work on this site. My mom enjoys getting into internet research and it’s obvious why. Many of us hear all concerning the lively manner you render helpful guidelines on the blog and as well improve contribution from visitors on the concern so my girl is in fact becoming educated so much. Enjoy the remaining portion of the new year. Your performing a great job.

  25. kd13

    I simply needed to appreciate you once again. I do not know the things that I might have worked on without the entire ideas provided by you on such subject. It previously was an absolute troublesome matter in my position, however , taking note of a expert tactic you solved it made me to cry for contentment. Extremely happier for your support and then sincerely hope you comprehend what a powerful job your are doing educating people today with the aid of your website. More than likely you haven’t encountered all of us.

  26. kd 12

    I simply wanted to appreciate you once more. I’m not certain what I could possibly have followed in the absence of those thoughts revealed by you about my situation. This was the troublesome setting for me, however , finding out the well-written way you handled that forced me to weep for fulfillment. Now i’m grateful for the advice and even sincerely hope you comprehend what an amazing job your are providing teaching people today via a web site. Probably you’ve never got to know all of us.

  27. supreme clothing

    I simply wanted to say thanks once more. I’m not certain what I would have handled without those tactics documented by you over such a problem. It became a very depressing matter in my view, nevertheless looking at a new expert technique you dealt with the issue forced me to leap over happiness. I will be happy for your help and sincerely hope you are aware of a great job your are providing teaching the others thru your blog. Probably you’ve never got to know all of us.

  28. yeezy 700

    I intended to post you that bit of remark just to thank you once again for the breathtaking tricks you have discussed above. It has been simply incredibly generous of you giving freely what exactly some people would’ve supplied as an ebook to help make some dough for themselves, mostly given that you could have done it if you wanted. These secrets likewise worked to provide a good way to be certain that someone else have the same dreams similar to my very own to realize much more in terms of this issue. I’m certain there are several more enjoyable sessions in the future for individuals that read carefully your blog.

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée.