Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Scripts are injected to every page – causing performance downgrading

$
0
0

Replies: 0

Hi all,

this is a good plugin, thank you.

When optimizing e-shop, I found out that Paypal checkout scripts are being injected to every single page and therefore downgrading performance in PageSpeed and YSlow (see following):
https://gtmetrix.com/reports/vitalifeshop.sk/JNBNFv1D
https://gtmetrix.com/reports/vitalifeshop.sk/RnheqaF5

We have Paypal button enabled to display only on Checkout page. However, the script is being injected everywhere and therefore causing:
a) Defer parsing Javascript problem in Pagespeed
b) Decreased score warning in Add Expires headers in YSlow
c) Decreased score warning in Make fewer HTTP requests in YSlow
d) Decreased score warning in Reduce DNS in YSlow
e) Decreases score warning in Minify Javascript and CSS in YSlow

Here are screenshots:
https://pasteboard.co/HJsuBSq.png
https://pasteboard.co/HJsv0s3.png
https://pasteboard.co/HJsvjQe.png

All of the above effectively means that your whole site (each page and subpage) has degraded Google page speed score and your organic search is therefore affected – your SERP score is lower.

Here’s a screenhot of our settings, maybe I missed something?
https://pasteboard.co/HJswLuE.png

Thanks for your help,
Highly appreciated,


Viewing all articles
Browse latest Browse all 59525

Trending Articles