Hi @ildomandatore,
If the ads are loaded using external scripts, there’s no way for WPCode or any WordPress plugin to influence how fast they load.
The only thing you can try to tweak is how the actual scripts are loaded by using async or defer properties so that the page loads faster initially.
This article might help you get started with that: https://www.wpbeginner.com/wp-tutorials/how-to-fix-render-blocking-javascript-and-css-in-wordpress/
We don’t understand each other: Ads appear slowly due to custom CSS added by me. I was wondering if there was a quick and easy way to recognize what causes slowness. Or if you could lend a hand. Unfortunately through Gtmetrix everything works well, but this is not the case. Performance tests done by hand and the difference is noticeable. I need to edit/remove the broken CSS. But I have 1000 custom CSS lines.
Would you be kind to help locate the culprit?
Hi @ildomandatore,
If you disable the snippet you use to add the CSS does the page load faster?
If you are getting better results in Gtmetrix vs your experience that may also be from the caching plugin – being logged-in you may be seeing the site uncached while an external service like Gtmetrix will load the site as a logged-out user with all the cache features enabled.
I can’t think of why CSS rules may be slowing down your site so much, even having 1000 rules is not that much and should have little effect on your page speed.
I ran a test for the URL you shared and in the report from Pagespeed Insights I can’t see any mention of CSS in the top reasons the page loads slowly, please try for yourself to add that URL here: https://pagespeed.web.dev/
I suggest trying to adjust the way the top scripts listed there are loaded to see if that makes a difference in the page performance.