• Resolved Dan14

    (@dan14)


    First this is a good plugin that does what it say, highly recommended. My issue with with preloading fonts (woff, woff2 and ttf) in posts only (not pages) in mobile devices. I have a plugin that has its own fonts on mobile devices only. Google recommended to preload it. When I preload it, the font is displayed both on desktops and mobile and on every page as well, not just posts.

    Is it possible to update the plugin so the preload can be determine whether to be displayed per device and posts, pages?

    • This topic was modified 3 years, 5 months ago by Dan14.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Sam Perrow

    (@samperrow)

    @dan14 Thanks for contacting me about this. I am working on an improved version that has post specific hints, as well as a few other features. I don’t know exactly when it will be ready, because I am only able to work on it part-part-part time.

    @samperrow First and foremost, thank you very much for this excellent plugin!

    Like other users, I of course look forward to upgrading to the major new version, whenever you get a chance to finish it 😉

    Following up on @dan14’s question, just to confirm: with the new version of the plugin, in order to make preloading responsive, will we be able to specify the “media” parameter(s)?

    For example:

    <link rel="preload" href="bg-image.png" as="image" media="(max-width: 600px)">

    [Specs on MDN Web docs]

    I thank you in advance for your reply.

    Plugin Author Sam Perrow

    (@samperrow)

    @wjh That’s a good point. I will see what I can do to incorporate that attribute in a version I’m releasing in the next week or two.

    @samperrow Terrific! Thank you 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Preload based on desktop / mobile / tablet’ is closed to new replies.