-
AuthorPosts
-
July 31, 2018 at 9:11 pm #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.
August 1, 2018 at 8:22 am #992245Hi Dietmar,
You can follow the suggestions on Google developer which are linked from the Pingdom tests, did you try that out?
Best regards,
RikardAugust 1, 2018 at 10:16 am #992302Hello 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
DietmarAugust 1, 2018 at 11:21 am #992331Hi,
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-fontsBest regards,
DudeAugust 1, 2018 at 4:19 pm #992463Hello 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
DietmarAugust 1, 2018 at 4:25 pm #992468Hi,
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,
DudeAugust 1, 2018 at 6:36 pm #992515This reply has been marked as private.August 2, 2018 at 8:42 am #992755Hi,
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,
DudeAugust 2, 2018 at 10:10 am #992797Hi 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!
DietmarAugust 2, 2018 at 11:01 am #992815Hi!
Great, glad it’s working now :)Best regards,
Peter -
AuthorPosts
- You must be logged in to reply to this topic.