Validation - Takes 50-60 seconds to reload - Any ideas how to improve this?

Posted 1 year ago by almost_pitt

Hey guys,

I have a form that uses validation. Imagine that a user forgets to put in a line and the page returns back with errors and with input.

In this case, the page takes 53.58 seconds to load (on this occassion). The main culprits are:

  • ng-validate.js - 49.69 seconds
  • ng-inspector.js - 49.42 seconds.

I have tried to add browser caching to my .htaccess file in the root folder. However, this hasn't improved the speeds.

Is there any other way to improve the load speed for form validation when it reloads? Is there something that I am maybe missing? All thoughts, ideas, and criticism are welcome. :)

(By the way, the page itself takes 3 seconds to load on a fresh load when not being returning back with input or errors.)



Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.