You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

  1. Giuse
  2. MediaBox
  3. Thursday, 12 December 2019
Hi, testing a page of my site with Google Page Speed I found that one "issue" is that I should preload JCE mediabox font -
plugins/system/jcemediabox/fonts/mediabox.woff?swjl0l=

I then added preload in the body of my site but then Google blames me that on other pages the font is preloaded but not used...
So I have a couple of questions:

  • is this font being used only when the popup is clicked and not before? if yes, is it possible to change mediabox plugin so that it (lazy) loads its font just when clicked?
  • can we use default site font for Mediabox instead of loading this new font?

thanks a lot

Giuse
Accepted Answer Pending Moderation
is this font being used only when the popup is clicked and not before? if yes, is it possible to change mediabox plugin so that it (lazy) loads its font just when clicked?
can we use default site font for Mediabox instead of loading this new font?


The font is quite a small set of icons, used for the popup identifier on popup images (the magnifying glass icon) and for icons in the popup itself - close, next, previous etc. It must therefore be loaded when the page loads, and cannot be replaced by the site font.

I may use svg icons in a future update, so the font will not need to be loaded.
Just because you're not paranoid doesn't mean everybody isn't out to get you.
  1. more than a month ago
  2. MediaBox
  3. # 1
Accepted Answer Pending Moderation
that would be a good idea, page speed (and other performance tools) counts also number of requests even if the size is small
or maybe also the option of using icomoon that is often already loaded?
thanks
  1. more than a month ago
  2. MediaBox
  3. # 2
Accepted Answer Pending Moderation
Hi Ryan, any progress on this?
Thanks a lot

Giuse
  1. more than a month ago
  2. MediaBox
  3. # 3
Accepted Answer Pending Moderation
Just because you're not paranoid doesn't mean everybody isn't out to get you.
  1. more than a month ago
  2. MediaBox
  3. # 4
Accepted Answer Pending Moderation
works great!
Thanks Ryan
  1. more than a month ago
  2. MediaBox
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!