Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

233
Vistas
Ninja Forms front-end.js long task in Chrome Performance impacting Core Web Vitals

In Core Web Vitals, we have high Total Blocking Time and it seems the main culprit is this script in Ninja Forms. If it is commented out, Ninja Forms does not load - obviously not a solution. But I would love to figure out a way to stop it from impacting the load performance.

This seems to be the specific code in front-end.js causing it:

//Simulate async callback;
if (forceSync) {
  main(undef, deps, callback, relName);
} else {
  //Using a non-zero value because of concern for what old browsers
  //do, and latest browsers "upgrade" to 4 if lower value is used:
  //http://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html#dom-windowtimers-settimeout:
  //If want a value immediately, use require('id') instead -- something
  //that works in almond on the global level, but not guaranteed and
  //unlikely to work in other AMD implementations.
  setTimeout(function () {
      main(undef, deps, callback, relName);
  }, 4);
}

return req;

Code

Performance:

Performance

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda