Menu and some tables not really working
-
Hello together,
we use autoptimize and wanted to use in addition this plugin. But we have the problem, that if asnyc ist activated, that our menu and sometimes tables do not work.
If we press one or two times F5 then it seems to work better. But pressing several times “F5” would no user probably make.
Without asnyc the pagespeed on gtmetrix and google insights ist significant lower than async is activated.
Maybe is someone here who could help us or has a hint concerning the settings. At the moment the plugin is activated (with the problems) on our site.
Thanks a lot in advance
-
This topic was modified 5 years, 1 month ago by
timatthias.
-
This topic was modified 5 years, 1 month ago by
-
well, when menu/ tables are not working, what JS errors do you see on the browser console?
Thanks for the reply.
Here you can see two pictures taken from the console
OK, you’ll have to make sure jQuery is not asynced to begin with, can you try that?
We “excluded” jQuery now
That are our settings at the moment
-
This reply was modified 5 years, 1 month ago by
timatthias.
-
This reply was modified 5 years, 1 month ago by
timatthias.
I’m still seeing jQuery asynced timatthias, which is also the reason you’re still seeing “jQuery is not defined” errors. Maybe you have page cache(s) to clear?
now we cleared all cache
https://ibb.co/hMSMk5y
https://ibb.co/KD4nYKgOr we have to make some changes in autoptimize?
-
This reply was modified 5 years, 1 month ago by
timatthias.
But jQuery is now deferred instead? Do you have the “defer jQuery” option on in Autoptimize -> Critical CSS -> Advanced settings and if so can you disable it?
thanks for your help. Now we unticked jQuery in critical css and cleared the cache.
This is the summary:
-
This reply was modified 5 years, 1 month ago by
timatthias.
OK, can you now exclude
wp-includes/jsfrom Asyncing?OK, we did
But the table on: https://crowdinvesting-compact.de/crowdinvesting-projekte/#crowdinvesting-projekt-vergleichstabelle is still false and the menu dos not work. Anything else we can do?
-
This reply was modified 5 years, 1 month ago by
timatthias.
-
This reply was modified 5 years, 1 month ago by
timatthias.
OK, now switch to defer iso async (async does not guarantee to honor script order for execution, defer dos) and if the problem persists exclude elementor.
Do you mean here:
Plugin: Autoptimize
Enable Autoptimize Support to allow you to override AO’s default “defer” flag (see below):Autoptimize Javascript Method: Async Defer`
or/ and here?
Async JavaScript Method
Please select the method (async or defer) that you wish to enable:Method: Async Defer`
-
This reply was modified 5 years, 1 month ago by
timatthias.
this one:
Async JavaScript Method
Please select the method (async or defer) that you wish to enable:Ok, we did. There seems to be no search console failure. Look here.
But the speed is down.
Google desktop: 62
gtmetrix: Perfomance 43%
Before we start this thread it was
google: 72
gtmetrix: 50%Yeah, if you have to exclude things from being optimized to make sure nothing breaks, your performance will be impacted, one cannot have ones cake and eat it 😉
-
This reply was modified 5 years, 1 month ago by
The topic ‘Menu and some tables not really working’ is closed to new replies.