[MaterialDesign] CDN + Icons #198

Closed
opened 9 months ago by nobody · 2 comments
nobody commented 9 months ago
Owner

Reported via email:

I stumbled across a page that uses Material Design Icons (https://github.com/Templarian/MaterialDesign, NPM: @mdi/font) from the CDN at https://cdn.materialdesignicons.com/. Paths look like:

The page I came across used the 2.8 branch. So I do request the inclusion of that. If you want to do a full include, you would be in for quite a few versions, since renames/removals can apparently happen between major and minor version changes, according to https://dev.materialdesignicons.com/changelog.

Anyway, I'd be very happy with the inclusion of https://cdn.materialdesignicons.com/2.8.94/css/materialdesignicons.min.css and the referenced fonts, though the Woff2 is probably enough since EOT is not supported by anything except IE?

...and https://cdnjs.com/libraries/MaterialDesign-Webfont

Reported via email: > I stumbled across a page that uses Material Design Icons (<https://github.com/Templarian/MaterialDesign>, NPM: @mdi/font) from the CDN at <https://cdn.materialdesignicons.com/>. Paths look like: > > - <https://cdn.materialdesignicons.com/2.8.94/fonts/materialdesignicons-webfont.woff2?v=2.8.94> > - <https://cdn.materialdesignicons.com/5.4.55/css/materialdesignicons.min.css> > > The page I came across used the 2.8 branch. So I do request the inclusion of that. If you want to do a full include, you would be in for quite a few versions, since renames/removals can apparently happen between major and minor version changes, according to <https://dev.materialdesignicons.com/changelog>. > > Anyway, I'd be very happy with the inclusion of <https://cdn.materialdesignicons.com/2.8.94/css/materialdesignicons.min.css> and the referenced fonts, though the Woff2 is probably enough since EOT is not supported by anything except IE? ...and `https://cdnjs.com/libraries/MaterialDesign-Webfont`
nobody added the
observation
label 9 months ago
nobody added
missing framework/mapping
and removed
observation
labels 9 months ago
nobody added this to the v2.5.11 milestone 9 months ago
Poster
Owner

This e-mail motivated me to check the existing font files. In many cases I included all old formats (eot, svg, ttf). Of course all of them can be removed. The current formats are woff and woff2.

This browsers can use woff2:
Firefox 35+
Chrome 36+
Opera 26+
Safari 10+
Edge 14+

This e-mail motivated me to check the existing font files. In many cases I included all old formats (eot, svg, ttf). Of course all of them can be removed. The current formats are woff and woff2. This browsers can use woff2: Firefox 35+ Chrome 36+ Opera 26+ Safari 10+ Edge 14+
nobody referenced this issue from a commit 9 months ago
nobody closed this issue 9 months ago
Poster
Owner

Feedback via email, because the website for testing is not public:

But I tested LocalCDN from the development branch against that page and indeed I no longer see requests to the Material Icons CDN, while the Icons still all load. If I deactivate LocalCDN for that page I do see the requests again. And of course LocalCDN itself is also showing the Icons loaded locally when it is active.

Feedback via email, because the website for testing is not public: > But I tested LocalCDN from the development branch against that page and indeed I no longer see requests to the Material Icons CDN, while the Icons still all load. If I deactivate LocalCDN for that page I do see the requests again. And of course LocalCDN itself is also showing the Icons loaded locally when it is active.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.