Ce court article détaille comment mettre en place simplement 3 analyseurs de code statique avec Maven.
Contexte
Au sein de mon équipe à Voyages-Sncf, le nombre de composants Java est en train d'augmenter.
Nous avons déjà toute une batterie de tests pour valider notre code, ainsi qu'un Sonar en place …
Test your structured data markup using this tool
C'était la prise de conscience rigolote de ce matin :)
Petite explication: plusieurs des services web de géolocalisation gracieusement fournis par Google utilisent la même interface (API). Cette interface requiert de définir une "zone de travail" géographique dans laquelle on va ensuite pouvoir interroger Google sur des adresses, des itinéraries, etc …
Specifically: advices on loading third party JS :
third-party script is slowing down your page load, you have several options to improve performance:
- Load the script using the
async
ordefer
attribute to avoid blocking document parsing. - Consider self-hosting the script if the third-party server is slow.
- Consider Resource Hints like
<link rel=preconnect>
or<link rel=dns-prefetch>
to perform a DNS lookup for domains hosting third-party scripts. - "Sandbox" scripts with an
iframe
- lazy-load content after the main page content loads but before a user might otherwise interact with the page
Python server: https://github.com/mozilla-services/socorro
PageSpeed Insights & Apache/nginx modules