Google Page Speed - JavaScript and CSS Problem

Hello friends;

I can fix most of the errors that Google Page Speed specifically wants us to correct, except for the ones regarding “JavaScript and CSS”.

There is an error regarding JavaScript and CSS like this; I am sure many of our friends have encountered it;

“None of the above-the-fold content on your page could be rendered without waiting for the following resources to load. Try to defer or asynchronously load blocking resources, or inline the critical portions of those resources directly within HTML.”

Is there a friend who can provide information to fix these errors? Or anyone with a different suggestion.

Thanks in advance.

Javascript dosyalarının sayfanın footer bölümüne koymalısın. Bir ara iyice uğraşmıştım %100 yapmıştım en son fakat epey şeyler gerekiyordu. gzip ,css ayarları, cache olayları fln

Javascript vs Css kodlarını; Header kısmından alıp aşşağı mı eklemem gerekiyor tam olarak dostum?

Aynen öyle :slight_smile: footer bölümüne eklemen gerekiyor.

**Resimlerin Optimizesi için: ** http://jpegclub.org adresine girip Jpegcrop Windows Application altındaki indirme linkine tıklayın. Daha sonra o program sayesinden resimlerinizi Optimize edebilirsiniz.
Tarayıcı önbellekleme özelliğinden: Aşağıdaki kodu htaccess e kaydetiniz.
<IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access 1 year" ExpiresByType image/jpeg "access 1 year" ExpiresByType image/gif "access 1 year" ExpiresByType image/png "access 1 year" ExpiresByType text/css "access 1 month" ExpiresByType text/html "access 1 month" ExpiresByType application/pdf "access 1 month" ExpiresByType text/x-javascript "access 1 month" ExpiresByType application/x-shockwave-flash "access 1 month" ExpiresByType image/x-icon "access 1 year" ExpiresDefault "access 1 month" </IfModule>
**Javascript ve Css için : **Js dosyalarını footer’e yerleştirin.

Ayrıca Google modulunude yukleyip kurabilirsiniz.

https://developers.google.com/speed/pagespeed/module

Not: Bazen can sıkıcı olabiliyor.

İlginiz için çok teşkkür ederim. Sağ olun, var olun.

Hayır, CSS kodlarını değil sadece JavaScript kodlarını etiketleri arasından alıp etiketinden öncesine taşıyın. Diğerleri etiketleri arasında kalmalı. Doğru kullanımı bu şekildedir. Ayrıca ek olarak CSS dosyalarını kompres edebilirsiniz.