Trying to improve performance - is imageinfo.js needed?

  • Profile Image
    powershop2015
    Asked on June 22, 2020 at 08:22 PM

    Hi,

    If I have a simple form that does not require the user to upload images, do I need imageinfo.js loaded?

    I'm trying to improve page speed and would like one less network request if it is not required for the form to work.

    Also, do I need the functions: JotForm.prepareCalculationsOnTheFly and JotForm.paymentExtrasOnTheFly if not using any maths or payment on the form?

  • Profile Image
    Kiran
    Answered on June 22, 2020 at 09:37 PM

    I am sorry that I am not sure where exactly the imageinfo.js is being used. As I tried inspecting  the form code, I was not able to find this script being loaded. However, please note that some of the scripts and functions shall be loaded by default irrespective of relative fields/functions are used on the form. Sometimes, removing the functions might cause conflicts that could result in the form not loading correctly.

    Hope this information helps!