Archived topic
app.js in GTmetrix
5 replies · Started by Paul on August 12, 2019
Hi,
I'm testing a newly installed site for any issues on GTmetrix and I've noticed an issue in the Waterfall tab where wp-content/themes/generatepress/js/app.js is taking between 500 and 1000ms to load with its status as canceled. Any ideas what might be causing this? Thanks.
Hi there,
that JS file isn't part of the GP theme - something else is adding a request for that file with the incorrect URL which is then 404'ing
Hi David,
Do you think it could be a caching issue perhaps?
Hmmm.... could be i would test:
1. Flushing and disabling all caches - plugin and server
2. Disabling plugins to see if one of them is conflicting.
3. Check any custom functions - the script is being requested from the <head> of the site
Yep it was a custom function not playing ball.
Thanks for your help David.
You're welcome