• 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 css debian Debug email english facebook firefox Français github greasemonkey IE Images 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 wifi Windows wordpress workflow À bookmarker

Méta

  • Flux RSS
  • Administration

Recent Entries

  • Get email address from a Azure DevOps « by » field in Power Apps Flow
  • Use CTRL and TAB to switch between two tabs in Chrome
  • Mise à jour d’un serveur Kimsufi (OVH) depuis Debian 10 (Buster) vers Debian 11 (Bullseye)
  • Portable version of NodeJS on Windows
  • Redirect non-www to www on a PHPBB Forum
  • Debug a third party Android APK
  • Capacitor Plugin for HTTP requests with self-signed SSL certificates
  • Enable CORS with IIS
  • L’application Android « Huawei Health » (ou « Santé » en français) retourne l’erreur : « les notifications sont indisponibles »
  • Problème d’accès avec C:\Program Files\WindowsApps

Recent Comments

  • towkneed in Check permissions in Sharepoint based on a PermMas…
  • L in Mise à jour d’un serveur Kimsufi (OVH) depuis D…
  • Aymeric in Utiliser un email alias avec GMail [Astuce]
  • Chris in Utiliser un email alias avec GMail [Astuce]
  • alex91 in Create a self-signed certificate for localhost tes…
  • Coolwriter in Bien configurer eMule [Astuces]
  • Nico in Bien configurer eMule [Astuces]
  • Jim1988 in Permettre le retour en arrière sur une page PHP a…
  • rikimaru11273 in Bien configurer eMule [Astuces]
  • Aymeric in Execute an action before saving a form but after t…
  • Random Selection of Posts

    • Tester un site sous IE6, IE7 et IE8 [Web Design]
    • Revenir à l’actualité récente de Facebook suite à la mise à jour [Astuce]
    • Mise à jour mysql 5.5 vers 5.6, sur Debian Wheezy
    • Sharepoint DateRangesOverlap value
    • Update the Toshiba Folio 100 to CyanogenMod 9 (ICS) [Tutorial]
    • Ne pas se faire pirater son compte Facebook, sa boîte mail, etc… [Astuce]
    • Kodono
© 2008 Kodono is proudly powered by WordPress
Theme designed by Roam2Rome