any ideas what caused he bad web vitals?
Yeah I’ve been using the Cloudflare WordPress plugin to connect to APO – and turn off the addon in WPR.
So how often do you clear the Cloudflare cache? And isnt that giving your site speed a mega hit doing that all the time? I’d like the APO system to just rebuild the page html when dynamic content gets updated – that was I’m not clearing everything from cloudflare edges (including images, js, css etc).
I guess we as consumers just assume these things work out the box as that’s how they market them, when in reality they don’t. Such a bummer!
Also really wish cloudflare would put a guide together sharing optimal setup instructions for use with WP-Rocket (or alternatives) – I assume because the guides don’t exist that maybe it’s not possible.
I feel that is the problem too! I have noticed that after that same period of time 12-24hours my core web vitals begin to suffer too – so, it’s not just the infinite load that becomes a problem – other scripts stop working too. Do you use Cloudflare APO? I think theres so weird stuff happening where WP-Rocket is not clearing the Cloudflare cache properly…
Hey Demir,
Do you manage to fix the infinite posts not working issue – I have the same problem
So you have no exceptions at all? I’m assuming it won’t work for me in that case as any exceptions added should in theory make it more likely to work.
Are you using drop down menus, and a live search in your header too?
Sadly still not working for me – I used the recommended exceptions below, but till the live search or secondary menus don’t load:
/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js
/jquery-migrate(.min)?.js
/wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js
tdBlocksArray
Thanks for the good news! I’ll try the update now. What script exceptions are you using in WP-rocket for delay javascript execution?
Hi Calin,
Thanks for the reply, many of us have tried excluding javascript files but this for some reason doesn’t work. Please list the header’s dependent javascript files – including live search, drop down menus…
On a final note – please start testing the theme with WP-rocket (the best, and most widely used caching plugin for wordpress)
-Alastair
So frustrating – I think it’s something to do with the version of jquery that Newspaper is using. But it’s definitely related to some Newspaper dependent javascript not loading when WP Rocket’s delay javascript execution is set to “on”.
Did you ever manage to fix this issue??
Hi Vlad,
I can’t risk handing over login details and have someone tinkering on our live site unfortunately as we can’t risk interruption or loss of earnings. But I’m happy to send over error logs again which should help you guys fix the conflict issue with WP Rocket. Here they are:
jQuery.Deferred exception: tdbSearch is not defined ReferenceError: tdbSearch is not defined
at HTMLDocument.<anonymous> (<anonymous>:27:37)
at e (https://www.sprintercampervans.us/wp-includes/js/jquery/jquery.min.js?ver=3.6.0:2:30038)
at t (https://www.sprintercampervans.us/wp-includes/js/jquery/jquery.min.js?ver=3.6.0:2:30340) undefined
jQuery.Deferred exception: tdbSearch is not defined ReferenceError: tdbSearch is not defined
at HTMLDocument.<anonymous> (<anonymous>:68:37)
at e (https://www.sprintercampervans.us/wp-includes/js/jquery/jquery.min.js?ver=3.6.0:2:30038)
at t (https://www.sprintercampervans.us/wp-includes/js/jquery/jquery.min.js?ver=3.6.0:2:30340) undefined
jquery.min.js?ver=3.6.0:2 Uncaught ReferenceError: tdbSearch is not defined
at HTMLDocument.<anonymous> (<anonymous>:27:37)
at e (jquery.min.js?ver=3.6.0:2)
at t (jquery.min.js?ver=3.6.0:2)
Uncaught ReferenceError: tdbSearch is not defined
at HTMLDocument.<anonymous> (<anonymous>:68:37)
at e (jquery.min.js?ver=3.6.0:2)
at t (jquery.min.js?ver=3.6.0:2)
Best,
Alastair
thats the same for me.
Hmm, thank you for helping anyway!
I was hoping that would word but sadly not. Same thing… Search doesnt load when you click it or the drop down menus.
Do you have anything in these settings? (image attached)
https://snipboard.io/Of4CyL.jpg
-
This reply was modified 4 years by
Alastair Dixon.
Yeah all is good without WP rocket, apart from slow loading speeds đ It’s definitely the defer JS execution setting – and I’m on the latest theme version.
Hey,
I’m using the same ones with additional ones that I thought may help, but still the same issue.. Here are mine:
/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js
/jquery-migrate(.min)?.js
/wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js
tdBlocksArray
/analytics.js
js-(before|after)
(?:/wp-content/|/wp-includes/)(.*)
/wp-content/plugins/td-cloud-library/assets/js/js_files_for_front.min.js
any ideas?
Hey, yes I did add those recommended exclusions but drop down menus and the live search do not work correctly in the header menu. Do you have drop downs or a search in your menu?
Hey, did you find a solution to this yet?
Hey there,
Did you figure out a solution to this? I’ve been looking into it too – driving me crazy because I want to use WPRockets Delay JS Execution due to the huge Core Web vitals improvements it offers.
-Alastair
I’m narrowing my issue down to a conflict with Wp Rocket caching plugin and the “delay javascript execution” setting.
If anyone from TagDiv is listening, please tell me which files I would need to exclude from this list in order to get things working properly – I feel like I’m nearly there, now my live search initiates when I click on it but the input field stying is incorrect. Here are my exclusions:
/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js
/jquery-migrate(.min)?.js
/wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js
tdBlocksArray
/analytics.js
js-(before|after)
(?:/wp-content/|/wp-includes/)(.*)
same problem here, and it is affecting drop down menu items too.
error log is chrome dev tools:
jQuery.Deferred exception: tdbSearch is not defined ReferenceError: tdbSearch is not defined
at HTMLDocument.<anonymous> (<anonymous>:27:37)
at e (https://www.sprintercampervans.us/wp-includes/js/jquery/jquery.min.js?ver=3.6.0:2:30038)
at t (https://www.sprintercampervans.us/wp-includes/js/jquery/jquery.min.js?ver=3.6.0:2:30340) undefined
jQuery.Deferred exception: tdbSearch is not defined ReferenceError: tdbSearch is not defined
at HTMLDocument.<anonymous> (<anonymous>:68:37)
at e (https://www.sprintercampervans.us/wp-includes/js/jquery/jquery.min.js?ver=3.6.0:2:30038)
at t (https://www.sprintercampervans.us/wp-includes/js/jquery/jquery.min.js?ver=3.6.0:2:30340) undefined
jquery.min.js?ver=3.6.0:2 Uncaught ReferenceError: tdbSearch is not defined
at HTMLDocument.<anonymous> (<anonymous>:27:37)
at e (jquery.min.js?ver=3.6.0:2)
at t (jquery.min.js?ver=3.6.0:2)
Uncaught ReferenceError: tdbSearch is not defined
at HTMLDocument.<anonymous> (<anonymous>:68:37)
at e (jquery.min.js?ver=3.6.0:2)
at t (jquery.min.js?ver=3.6.0:2)
Any have a resolution for this yet?
-
This reply was modified 4 years by
Alastair Dixon.
Give that man a gold star! Thanks for sharing this valuable information! Have you figured out how to preload the featured image class yet?
How did you get on with this? I’m facing all the same issues as you.
-Alastair
Hey there,
Why don’t you share the url you’re testing so we know the results are real, and we can take a look at the weight of the page you’re actually loading? Just posting a picture of a 100 PSI score offers no value to us, without proper knowledge of the data on the page you’re loading. You’re effectively posting an image of a golden apple without telling us how you made your apple turn into gold.
-Alastair
