How can I use CDN for this javascript file used in Q2A Core? Because this javascript file uses more time to load.
Also Can we load this file in defer and async as google recommends using defer and async for non-essential javascript file.
Also, can we put this file at the bottom? currently, this placed at the top in q2a core.
Default IN Q2A - https://www.question2answer.org/qa/qa-content/jquery-3.3.1.min.js
Needed - https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
I am using BunnyCDN to deliver static content (JS, CSS, and Font files) on my website. Although the changes are very small, it took me a couple of hours to figure out the codes that I need to change. Thanks to the Github page of Q2A; finding the required codes became easier.
I have written all the steps here - https://www.discoverbits.in/post/how-to-use-cdn-for-static-content-javascript-css-font-files-in-question2answer-cms/
See if it works for you.
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.