Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

228
Visualizações
TYPO3 / OwlSlider PageSpeed Insights - Unable to optimize due to deffer

I have a TYPO3 Page where i need to get a score above 90. For this in particular i've already set jQuery, OwlCarousel and the initating script to defer.

However, if i keep the Slider away from loading, i get a 97 Score. If i keep it, it goes down as far as 71.

"Reduce initial response time of the server" comes around if i load it all defer. As for my understanding, this happens because it loads the HTML and seperatly the JavaScript. But that will make the Slider load later ofc. because the document gets first loaded.

But if i will load jQuery, OwlCarousel and the init-script without defer the score also will get to 74.

I dont see a solution here, any tipps?

var slider = '.slider-owl-268';
var tnav = true;
var amount = 1;
var dautoplay = false;
amount = parseInt(amount);
var tdots = true;

    $(slider).owlCarousel({
        items: amount,
        lazyLoad:true,
        loop: true,
        margin: 15,
        autoplay: dautoplay,
        autoHeight: true,
        nav: tnav,
        dots: tdots,
        fluidSpeed: 1,
        responsiveClass: true
    });

$( ".owl-prev").html('');
$( ".owl-next").html('');

Edit: A Tip i might have, atleast Layout Shifting can be eleminated trough setting the Slider visible in min-height with Styles. It does not solve the defer Problem but at least the user see's no shifting and it gives a few bonus points.

With Cache-TTL and eliminating Layout Shifting i could get a score of 96 without using defer.

I wish i could but atleast i reached my goal. Should i clouse the question @mods?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda