• Resolved rileb93

    (@rileb93)


    Hi Forum,

    Nice to have a place where discuss issues and improvements.
    I’m running Autoptimize with WProcket, wpengine and cloudfare cdn (auto minify and rocket loader disabled).

    I need the booking widget run smoothly, though it’s being loaded by a external server – it’s basicly an iframe with a script all together.
    How should I go into the caching and minifcation settings to prevent any errors – what about external scripts dependencies, am I missing something?

    Thanks a million if you would be able to point me in the right direction.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    allow me to turn this into a question: does the somehow widget break when Autoptimize is active? 🙂

    Thread Starter rileb93

    (@rileb93)

    Thanks for replying so quickly.

    It happens that from mobile i have to double click to make:
    a. date selection
    b. add to shopping cart button

    Feels like the script needs more time before rendering the next information to be passed.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, Autoptimize doesn’t touch 3rd party stuff really and I checked the HTML source and the code indeed is left fully intact.

    the reason for the fact that the widget feels slowish might be in the fact the JS is loaded with async and defer flags;

    
    <script id="regiondo-booking-js" src="//cdn.regiondo.net/js/integration/regiondo-booking.js" async defer>

    removing defer (which means “execute the JS as late as possible”) might help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fix breaking 3rd party external JS’ is closed to new replies.