• Resolved Chris Chalmers

    (@chris-chalmers)


    I have a question about the delayed scripts interface: The documentation says I can use wildcards for delaying inline scripts. Can I use wildcards for external URLs? And if there is a querystring on the end of the url, like a cache buster or an ID parameter, can I exclude that and still have the script delayed? Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Support Nikol @ Nitropack

    (@nitronikol)

    Hello @chris-chalmers ,

    Thank you for reaching out!

    You can delay external scripts by adding the URL, and you can also include a wildcard there.

    For example, you can place the wildcard like this? *domain.com/script.js*?, which will include all URL parameters even if it is changed. This way, you ensure that the script is indeed delayed even if the URL is somehow changed.

    I hope this information helps!

Viewing 1 replies (of 1 total)
  • The topic ‘URL syntax for delayed external scripts’ is closed to new replies.