Okay
  Public Ticket #2599226
Performance
Closed

Comments

  • Jeremiah started the conversation

    With the Amelia booking plugin on the landing page, it bogs down the page load time and gives me a really bad Google Page Insight score.  WP Rocket has an option to defer javascript, can you tell me the path I would use to put it in the list of "Scripts to delay" so that it won't load until user interaction?

    Example: /app/js/api.min.js

  • [deleted] replied

    Hello Jeremiah, 

    This is the script for loading Amelia on the front-end

    /wp-content/plugins/ameliabooking/public/js/frontend/amelia-booking.js

    so you can try adding it there to see if this could help out to achieve what you want.