So on the “Status” tab it always says Defer
even if on the “Settings” tab you changed to Async
? And does it say Async
on the “Settings” tab when you refresh that? And when looking at the HTML source, do you see the defer
attribute being added or is that async
?
Yes. Status always says Defer. Settings Is set to Async. HTML Source has NEITHER DEFER OR ASYNC. I guess it doesnt work at all for jsquery.
I can confirm there is a bug. It doesnt work with jquery at all. Even addding jquery manually into the list does not work. Status always shows Defer for jquery. But actually it is not async or defer in the code. It is excluded completely.
Status: Enabled
Method: Async
jQuery: Defer
Async Scripts: jquery.js
Defer Scripts:
Exclusions:
Scripts:
Plugins:
Themes:
Autoptimize Status: Enabled
Autoptimize Method: Async
Ah, so you problem is specific to jQuery you mean? Can you try with Autoptimize integration disabled?
Yes specific to Jquery only. I disabled Autoptimize. No help.
Weird, _should_ work. can you share your site’s URL?
I did send you an email through the contact form here – https://autoptimize.com/
OK, can you disable object & db caching in W3TC?
doesnt help. I tried it. and it makes my site takes years to load.
OK, but to be clear this is a temporary thing until we find what is causing the defer flag to stick 🙂
What is your current setting for jQuery?