Pagespeed / jQuery / document ready
-
Das Plug-In nutzt im Front-End jQuery, obwohl tarteaucitron.js keine Abh?ngigkeiten hat.
Aufrufe wie z.B. das:
$(document).ready(function() {});
k?nnte man mit Vanilla-JS ersetzen:
document.addEventListener("DOMContentLoaded", function() {});
Jetzt wird jQuery im Header geladen und man bekommt von Google Abzüge für “render blocking resources”.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Pagespeed / jQuery / document ready’ is closed to new replies.