-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
slow to load (6-10 seconds in zebra_form.js ) #23
Comments
Can you please email me the code for generating that monstrosity of a form? :) I'll definitely have a look once I can reproduce the issue. It’s most likely something that’s altering the DOM – usually that is something that takes up a lot of time (although, I don’t see that you have that so, I assume it’s an issue with my code somewhere) |
Here's a test case. Rather than including the monstrosity that is the code generating This is not high priority; don't spend a lot of time on it unless Thanks and Best Regards, On 2/10/2016 1:00 AM, Stefan Gabos wrote:
|
You forgot to attach the file. I am very interested in making the library better!:) |
Commenting with regard to our email exchange in case anyone else comes looking about this issue. |
Workaround was to disable clientside validation. This can be closed. |
This is not really a solution...I'm going to look more into this, just to make sure that there are no faults in the code |
I think also I'm abusing the concept of "HTML form" with this page design... :) |
I have a page with almost 800 controls -- it's a list editor as shown in the attachment (I sent an image of the page by separate email.)
About half of the controls are "dummy", disabled select controls used to emulate "readonly" functionality for the "real" select controls. After the page loads it takes from 6 to 10 seconds before the page is responsive. I determined that almost all of this time is spent somewhere in zebra_form.js (the page load speeds up by that much when I do not load that one javascript file).
Do you have any suggestions for how I might speed up the page load? For example, whatever initialization it is doing on the controls in the ".each" loop, is there a property I can put on the "dummy" controls so it will skip them? Or any other suggestions?
Thanks and Best Regards,
The text was updated successfully, but these errors were encountered: