Support

Home Forums Event Espresso Premium JS / Autoptomize

JS / Autoptomize

Posted: December 23, 2018 at 12:33 pm


lupineart

December 23, 2018 at 12:33 pm

Hey guys,

Just carrying on with this post:

https://eventespresso.com/topic/waitlist-button-not-working-for-wp-5/

I found that the ‘submit promo code’ button isn’t working, had to disable Optimise JavaScript Code altogether, but hitting some big page load times time (6-9sec).

There’s an option to exclude scripts from autoptomize. Are there any particular scripts relating to these EE buttons that could be excluded to resolve this? Or is it not that simple?

Thanks, Derek


Josh

  • Support Staff

December 26, 2018 at 8:28 am

Hi Derek,
It’s likely not that simple because multiple scripts are involved. What you could do instead is uncheck the box next to “Aggregate JS-files?”, then click Save Changes and Empty Cache. This way, the scripts will be in their correct places and they’ll be minified so they’ll load faster.


lupineart

December 27, 2018 at 2:39 pm

Yeah, it works, but unfortunately still hitting speeds quite a bit higher than before (4-6sec vs <3 sec).

Thanks, Derek


Josh

  • Support Staff

December 27, 2018 at 2:56 pm

Hi Derek,

I hope you can understand that we do not provide support for the Autoptimize plugin. There are surely other ways to speed up a webpage that does not involve also breaking JavaScript dependencies. Here’s one guide that shows how:

https://www.cloudways.com/blog/speed-up-wordpress-site/


lupineart

December 27, 2018 at 3:41 pm

Hi Josh,

Totally get it… You guys have always provided awesome support, often beyond your scope.

Thanks, Derek

The support post ‘JS / Autoptomize’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso