Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #992077

    Hi, if I make a speedtest on tools.pingdom I get this Error of my website with Enfold Theme:

    “”Leverage browser caching
    The following cacheable resources have a short freshness lifetime. Specify an expiration at least one week in the future for the following resources:
    https://fonts.googleapis.com/css?family=Montserrat””

    How can I fix that?
    Thanks Dietmar

    • This topic was modified 6 years, 4 months ago by pumpmakers.
    #992245

    Hi Dietmar,

    You can follow the suggestions on Google developer which are linked from the Pingdom tests, did you try that out?

    Best regards,
    Rikard

    #992302

    Hello Rikard,
    no I havent tried because they say I need to upload the font on my server and remove the function from my Enfold Theme (what is not possible without coding) – thats the reason why Im asking you.
    Do you have the same problem or actually pindom-error also at other websites with Enfold Theme?
    How can we fix that?
    Best regards
    Dietmar

    #992331

    Hi,
    You can’t change the caching settings of the Google Fonts. However I’d recommend to download them and to host the font files on your own Server – then the cache Settings of your server will be applied to the font files. To upload the Google Fonts to your server follow the instructions here: https://kriesi.at/documentation/enfold/typography/#how-to-upload-custom-fonts

    Best regards,
    Dude

    #992463

    Hello Dude, I have done this – uploading the font on server – and changed the font in the Enfold Theme to the new uploaded font but there is not difference – still same.
    The Error writes “Specify an expiration at least one week in the future for the following resources: https://fonts.googleapis.com/css?family=Montserrat”

    This means for me I need to set an expiration time with at least one week. Where and how can I do this in Theme? Has other Enfold Theme Users the same error in his Plugin? There might be many because thats a major problem.

    Best regards
    Dietmar

    #992468

    Hi,

    Where and how can I do this in Theme? Has other Enfold Theme Users the same error in his Plugin? There might be many because thats a major problem.

    You can’t set it. It’s an external resources loaded from https://fonts.googleapis.com/ and only Google could set it (which they won’t do for you).

    Please create us an admin account and we’ll check which script adds this font to your website. If you configured Enfold properly I’m sure it’s not a theme issue…

    Best regards,
    Dude

    #992515
    This reply has been marked as private.
    #992755

    Hi,

    I’m not sure why it didn’t work for you but I just uploaded the font files and selected them (instead of the google fonts) and now I see a A 100% grad in pingdom: https://tools.pingdom.com/#!/IbuZ1/https://schlafst%C3%B6rungen.com/

    Best regards,
    Dude

    #992797

    Hi Dude, thats curious because I did similar. Maybe it was in Cache yet.
    Thank you very much for that!
    I really like your Theme and espicially is speed and for seo its perfect!
    Dietmar

    #992815

    Hi!
    Great, glad it’s working now :)

    Best regards,
    Peter

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.