• 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 Anglais Application Astuce astuces css debian Debug Divers email english facebook firefox Français github 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 À bookmarker

Méta

  • Flux RSS
  • Administration

Recent Entries

  • Connect to SharePoint Online using an app clientId and clientSecret
  • Mount a SMB Network Drive with Pivotal Cloud Foundry (pcf) and access it using NodeJS
  • spfx error: No development certificate found. Generate a new certificate manually, or set the `canGenerateNewCertificate` parameter to `true` when calling `ensureCertificateAsync`
  • Deploy a PCF NodeJS app as a scheduled task
  • Power Automate: execute a SQL Query via On-Promise Gateway
  • Pass an URL parameter to a SharePoint Online form’s field
  • Transfer an Alexa AWS Lambda function from the online editor to the ASK CLI
  • Detect mobile in JavaScript
  • Add a domain to a Let’s Encrypt certificate
  • Get email address from a Azure DevOps « by » field in Power Apps Flow

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

    • SharePoint 2013 Search REST API options
    • Show the full content of a Sharepoint Calendar event box
    • Round a number to one decimal [JavaScript]
    • Utiliser un email alias avec GMail [Astuce]
    • Ne pas se faire pirater son compte Facebook, sa boîte mail, etc… [Astuce]
    • Convertir un fichier [A Bookmarker]
    • Améliorez votre user experience sur les sites que vous aimez [Greasemonkey]
© 2008 Kodono is proudly powered by WordPress
Theme designed by Roam2Rome