Autoptimze´s "Aggregate inline JS" leads to dysfunction of WOOF
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from Petk on February 17, 2020, 14:33Hi, I have a strange problem: because my Cache is growing very fast I´ve deactivated within Autoptimize the "Aggregate inline JS" Checkbox (like recommended by Autoptimize in such cases).
But with this, my WOOF Products Filter is no longer working: I can set the filters, but nothing happened. My products were not sorted any more.
After activating "Aggregate inline JS" Checkbox inside Autoptimize again, WOOF also works normally again.
Do you have any ideas what the problem is and how it can be solved?
thx in advance
Hi, I have a strange problem: because my Cache is growing very fast I´ve deactivated within Autoptimize the"Aggregate inline JS" Checkbox (like recommended by Autoptimize in such cases).
But with this, my WOOF Products Filter is no longer working: I can set the filters, but nothing happened. My products were not sorted any more.
After activating"Aggregate inline JS" Checkbox inside Autoptimize again, WOOF also works normally again.
Do you have any ideas what the problem is and how it can be solved?
thx in advance
Quote from Pablo Borysenco on February 18, 2020, 12:06Hello
try in plugin settings->Advanced->Options - https://c2n.me/463rAi6.png
If no luck - drop me exact link to the issue
Hello
try in plugin settings->Advanced->Options - https://c2n.me/463rAi6.png
If no luck - drop me exact link to the issue
Quote from Petk on February 18, 2020, 13:56I just sent you "private data for this topic" (and updated it some seconds ago)
I just sent you"private data for this topic" (and updated it some seconds ago)
Quote from Pablo Borysenco on February 19, 2020, 12:43Hello
I tested it - https://c2n.me/464JQgD I can not repeat this error
Hello
I tested it - https://c2n.me/464JQgD I can not repeat this error
Quote from Petk on February 19, 2020, 14:31You disabled the Checkbox "Aggregate JS Files?". But I mean another Checkbox: "Also aggregate Inline JS?" -> directly under the Checkbox you mean.
The interesting thing is, that with disabling your checkbox, mine is disabled too by autoptimize, but SWOOF works. But if you disable only the Checkbox that I mean, the problem is there. So what do you think?
You disabled the Checkbox"Aggregate JS Files?". But I mean another Checkbox:"Also aggregate Inline JS?" -> directly under the Checkbox you mean.
The interesting thing is, that with disabling your checkbox, mine is disabled too by autoptimize, but SWOOF works. But if you disable only the Checkbox that I mean, the problem is there. So what do you think?
Quote from Pablo Borysenco on February 20, 2020, 12:55Hello
Ok! Unfortunately, I can not find the cause of this error. in this case please use this settings - https://c2n.me/465Zch6.png
Hello
Ok! Unfortunately, I can not find the cause of this error. in this case please use this settings - https://c2n.me/465Zch6.png
Quote from Petk on February 20, 2020, 13:49thanks for trying but now it´s even more worse: WOOF works only, if both checkboxes were disabled: "Aggregate JS Files?" and "Also aggregate Inline JS?".
Before, WOOF worked by disabling only the checkbox "Also aggregate Inline JS?"What have you changed within WP-admin?
My page speed seems to be better if at least only the checkbox "Also aggregate Inline JS?" is disabled.
thanks for trying but now it´s even more worse: WOOF works only, if both checkboxes were disabled:"Aggregate JS Files?" and"Also aggregate Inline JS?".
Before, WOOF worked by disabling only the checkbox"Also aggregate Inline JS?"
What have you changed within WP-admin?
My page speed seems to be better if at least only the checkbox"Also aggregate Inline JS?" is disabled.
Quote from Pablo Borysenco on February 21, 2020, 11:53Hello
I changed the settings only autoptimize
I checked it - https://c2n.me/4674tER - it works
Hello
I changed the settings only autoptimize
I checked it - https://c2n.me/4674tER - it works
Quote from Petk on February 21, 2020, 15:13Misunderstanding, sorry, my fault.
I asked the author of Autoptimize and he suggests, to exclude the WOOF JS-files from being optimized (there is a field for that in Atoptimize right under the mentioned Checkboxes). Can you please tell me the names of the JS-files?
Misunderstanding, sorry, my fault.
I asked the author of Autoptimize and he suggests, to exclude the WOOF JS-files from being optimized (there is a field for that in Atoptimize right under the mentioned Checkboxes). Can you please tell me the names of the JS-files?
Quote from Pablo Borysenco on February 24, 2020, 13:26Hello
try this file - wp-content\plugins\woocommerce-products-filter\js\front.js
Hello
try this file - wp-content\plugins\woocommerce-products-filter\js\front.js
Quote from Petk on February 25, 2020, 17:28thank you, but excluding front.js from Autoptimize leads to the result, that the SWOOF-filter is not working (the skin of the SWOOF-filter in the sidebar changes and the products were not filtered).
It looks like SWOOF is not working without being optimzed by Autoptimize, this is strange, funny and sad at the same time ;) Do you have any other idea?
thank you, but excluding front.js from Autoptimize leads to the result, that the SWOOF-filter is not working (the skin of the SWOOF-filter in the sidebar changes and the products were not filtered).
It looks like SWOOF is not working without being optimzed by Autoptimize, this is strange, funny and sad at the same time ;) Do you have any other idea?
Quote from Petk on February 25, 2020, 18:11UPDATE
OK, I think I found the problem: jquery.js was not excluded from being optimized. By default, within Autoptimize jquery.js is in the list of excluded JS-files (reasons: https://wordpress.org/plugins/autoptimize/#faq ).
With excluding jquery.js from being optimized, SWOOF is working correctly if I deactivate within Autoptimize the “Also aggregate inline JS” Checkbox.
I don´t know exactly why, but now it works :)
UPDATE
OK, I think I found the problem: jquery.js was not excluded from being optimized. By default, within Autoptimize jquery.js is in the list of excluded JS-files (reasons: https://wordpress.org/plugins/autoptimize/#faq ).
With excluding jquery.js from being optimized, SWOOF is working correctly if I deactivate within Autoptimize the “Also aggregate inline JS” Checkbox.
I don´t know exactly why, but now it works :)
Quote from Petk on February 25, 2020, 18:55one more thing: if you can adjust SWOOF to work also without excluding jquery.js from being optimized by Autoptimize, it would be great. Reason: excluding jquery.js slows a website down.
and I want to share the following feedback: SWOOF JS uses jQuery, that´s why excluding “front.js” from being optimized by Autoptimize does not helped.
one more thing: if you can adjust SWOOF to work also without excluding jquery.js from being optimized by Autoptimize, it would be great. Reason: excluding jquery.js slows a website down.
and I want to share the following feedback: SWOOF JS uses jQuery, that´s why excluding “front.js” from being optimized by Autoptimize does not helped.
Quote from Pablo Borysenco on February 26, 2020, 15:54Hello
Ok! Thank you for cooperation!
I will pass this to the developers.
Hello
Ok! Thank you for cooperation!
I will pass this to the developers.