Hi Birgitte,
Thank you for reaching out! Based on your description, the issue seems to be related to the long load times for the font file and the server performance. Here’s a detailed response:
Observations:
Font File Size: The font you mentioned, Kaisei Tokumin, is around 2 MB, which is quite large for web use. This significantly impacts the loading time.
Server Response Time: The total load time of 49 seconds for the page suggests that the server may be slow in handling requests.
Recommendations:
Optimize Font File:
Use a lighter version of the font if available, or subset the font to include only the characters you need.
Improve Server Performance:
Check with your hosting provider to optimize server response times. Consider upgrading your hosting plan if necessary.
Implement caching mechanisms like server-side caching or plugins such as WP Rocket to reduce overall load time.
Font Display Property:
Instead of block, try font-display: swap;. This ensures that a fallback font is displayed until your custom font loads.
Combine and Minify Resources:
Use plugins like Autoptimize to combine and minify CSS and JS files, which can improve loading times.
Best regards,
Dinesh