Nicolas01 / Highlightjs_Integration

A MediaWiki extension to use the client-side syntax highlighter highlight.js
GNU Affero General Public License v3.0
8 stars 3 forks source link

Prevent loading highlight library from remote cdn #9

Closed grusch-it closed 1 year ago

Nicolas01 commented 2 years ago

The use of a CDN may improve load times and lower the cost of bandwidth. Could you explain me the benefit of using of a local file ?

grusch-it commented 2 years ago

Primarly data protection reasons. There was a law case in Germany lately where the court has forbidden the usage of the Google Webfont CDN.

Nicolas01 commented 1 year ago

With highlightjs version 11.7 there is no need anymore to use CDN.