• Home
  • A Propos
  • Greasemonkey
  • HowTo GitHub
  • Performance JavaScript
  • SharepointPlus

15

Juin

How to cache the CSS Fonts with Sharepoint

Posted by Aymeric  Published in Astuce, English, Niveau débutant, Performance

If you use your own CSS file with your own CSS fonts, then we’ll notice that Sharepoint doesn’t send cache headers if you use the below CSS code: @font-face { font-family: ‘Roboto’; src: url(‘/_catalogs/masterpage/css/fonts/Roboto/Regular/Roboto-Regular.woff2’) format(‘woff2’), url(‘/_catalogs/masterpage/css/fonts/Roboto/Regular/Roboto-Regular.woff’) format(‘woff’), url(‘/_catalogs/masterpage/css/fonts/Roboto/Regular/Roboto-Regular.ttf’) format(‘truetype’); font-weight: 400; font-style: normal; } To have this resource sent back from the Sharepoint server with […]

Continue reading...

Tags: Astuce, css, english, Niveau débutant, Performance, Programmation, sharepoint

no comment

15

Déc

Quickly find if an object is an array [JavaScript]

Posted by Aymeric  Published in Niveau débutant, Performance, Programmation

You could use Array.isArray(obj) but it’s not available for IE8 and it doesn’t seem very good on the performance side. The best one on the different browsers is to test: obj instanceof Array

Continue reading...

Tags: javascript, Niveau débutant, Performance, Programmation

no comment

19

Août

Tester les performances d’un code Javascript via un benchmark [performance]

Posted by Aymeric  Published in Niveau intermédiaire, Performance, Programmation

Je vous conseille de tester régulièrement votre code Javascript pour voir les performances par rapport à d’autres commandes. Il arrive qu’on hésite entre deux (ou plus!) façons de faire. Il existe le populaire http://jsperf.com/ qui offre la possibilité de tester autant de bouts de code que l’on souhaite, en appelant même quelques framework bien connus […]

Continue reading...

Tags: javascript, Performance, Programmation

no comment

14

Août

L’opérateur typeof en Javascript [programmation]

Posted by Aymeric  Published in Niveau débutant, Programmation

Si vous avez déjà essayé d’utiliser typeof en Javascript pour trouver le type d’un objet, vous avez dû vous rendre compte que cet opérateur n’aide pas beaucoup…. Le typeof par défaut de Javascript Déjà, comme typeof est un opérateur, vous n’avez pas besoin d’utiliser des parenthèses ou une quelconque autre décoration. Ainsi on aura : […]

Continue reading...

Tags: javascript, jquery, Performance, Programmation

no comment

1

Fév

Activer la compression GZip sur WordPress [Performance]

Posted by Aymeric  Published in Astuce, Niveau débutant, Performance

[niveau débutant] Si vous souhaitez que WordPress serve les pages de votre blog plus rapidement (et surtout en prenant moins de bande passante, c’est-à-dire en pesant moins lourd), vous pouvez utiliser l’option de compression au format GZip. Pour cela il faut simplement ajouter la ligne suivante au début de votre fichier header.php (accessible depuis la […]

Continue reading...

Tags: Astuce, Niveau débutant, Performance, wordpress

2 comments

Me Suivre

Suivre @aymkdn

Catégories

  • À bookmarker
  • Android
  • Application
  • Astuce
  • Debug
  • Divers
  • English
  • Français
  • Images
  • Linux
  • MacOS
  • Navigateur
  • Niveau débutant
  • Niveau expert
  • Niveau intermédiaire
  • Partage
  • Performance
  • Programmation
  • Sécurité
  • Téléphonie
  • Vidéo
  • Web Design
  • Windows

Étiquettes

android Application Astuce astuces convertisseur css debian Debug débutant email english facebook firefox Français github IE Images intermédiaire internet explorer javascript jquery Linux mysql Navigateur Niveau débutant Niveau expert Niveau intermédiaire Nokia Partage Performance php Programmation regexp sharepoint Sharepoint 2013 sharepointplus Sécurité traitement vidéo téléphone Téléphonie vidéo Web Design Windows wordpress À bookmarker

Méta

  • Flux RSS
  • Administration

Recent Entries

  • Invisible character with IE when using Intl.DateTimeFormat
  • Envoie d’email et spam (via OVH)
  • Create a self-signed certificate for localhost testing with IE11 and Webpack
  • Sharepoint DateRangesOverlap value
  • Interclassement MySQL pour le français
  • Content Security Policy (CSP) blocks scripts from Violentmonkey / Greasemonkey
  • Remove custom properties/metadata for an Office document [javascript]
  • Contrôler la Freebox avec Google Home
  • Émuler Raspberry Pi sous Windows
  • How to delete a document locked by another user in Sharepoint using JavaScript

Recent Comments

  • Aymeric in Execute an action before saving a form but after t…
  • liriarte in Execute an action before saving a form but after t…
  • Aymeric in Contrôler la Freebox avec Google Home
  • Jolaclass in Contrôler la Freebox avec Google Home
  • Aymeric in Bien configurer eMule [Astuces]
  • vans in Bien configurer eMule [Astuces]
  • jeff in Execute an action before saving a form but after t…
  • Chicago in How to expand Sharepoint 2013 calendar by default …
  • Aymeric in Bypass a lookup field not displayed because of thr…
  • Hemant Upadhyay in Bypass a lookup field not displayed because of thr…
  • Random Selection of Posts

    • Revenir à l’actualité récente de Facebook suite à la mise à jour [Astuce]
    • Faire démarrer une vidéo Youtube à un temps précis [Astuce]
    • Migrer un forum vers du phpbb3 [Astuces]
    • Indenter un fichier XML [A bookmarker]
    • Stopper la propagation d’une action [Programmation]
    • Surveiller l’activité de son PC [App Windows]
    • Tester votre site dans Opera Mini [Web Design]
© 2008 Kodono is proudly powered by WordPress
Theme designed by Roam2Rome