- This topic has 3 replies, 2 voices, and was last updated 1 year, 9 months ago by David.
September 19, 2020 at 3:55 pm #1450381nickgray
Is it possible to have a decent speed with Generatepress if the website contains some features like Google Analytics, Google Tag Manager, OptinMonster?
I am using Cloudflare plugin, Autoptimize (also have but deactivated ShortPixel and WP Rocket) but still rarely can achieve 90 score, maybe if I turn off those mentioned above I can have 90+ for some posts, while for those with embedded Youtube videos I can’t go over 80 no matter what. Nonetheless, without Analytics and Opt-in Monster pretty much there’s no sense to have a Blog SEO-wise, so those are a must for me.
For images it also says to serve them as nextgen, although I have already tried different combinations of serving images as .webp with Autoptimize or Shortpixel, but without too much success (only without Analytics and Optin the speed goes over 90). Also I’m deleting cache all the time, but some problems still prevail.
I have followed instructions you provided in the documentation and hosted 2 fonts locally, but still I have errors like Preload key requests, Avoid URL redirects, Add Expires headers. Fonts look differently tho, when hosted locally and when used from Google Fonts, the same font-weight but somehow still don’t look the same.September 19, 2020 at 5:47 pm #1450428DavidStaffCustomer Support
the Theme isn’t responsible for the performance of plugins / 3rd party scripts. All 3rd party requests are going to slow a site down as they require extra DNS lookups and requests to another server.
You can host GA locally using this plugin – that will remove the 3rd party request:
OptimMonster is known to be really heavy. Aside of using an alternative lighter Optin plugin you can try deferring the scripts it loads using Flying scripts:
For local fonts – we have recently been testing this plugin for adding the locally which works really well without all the hassle:September 20, 2020 at 4:47 am #1450793nickgray
Tried the plugin for fonts, still the same – it shows http://nickgraynet.staging.wpengine.com/wp-content/themes/generatepress/fonts/generatepress.woff2 is taking 1,380 – 1,680 ms (depending on post) to load on mobiles and the font still looks the same at the front-end, e.g. not like the Google font, no matter the same font-weight.September 20, 2020 at 5:49 am #1450865DavidStaffCustomer Support
That font is the GP icon font. Which you can remove by changing Customizer > General > Icon Type to SVG.
I am seeing Source San Pro and Source Serif Pro being loaded on your site.
With that plugin installed have you selected the Fonts and weights you want in the customizer? As the plugin should auto detect which ones are being requested.
- You must be logged in to reply to this topic.