miccom Posted December 1, 2016 Share Posted December 1, 2016 Cześć. Podczas analizy szybkości mojego sklepu otrzymuję noty 48% ;/ i jedną podstawową wskazówką na czerwono: Włącz kompresowanie, aby zredukować rozmiar transferu zasobów o 1022.8 KB (72%). Ustawienia dotyczące wydajności mam ustawione ( CCC x 3 ) na TAK W .htaccess mam odpowiednie wpisy <IfModule mod_deflate.c><IfModule mod_filter.c> AddOutputFilterByType DEFLATE text/html text/css text/javascript application/javascript application/x-javascript font/ttf application/x-font-ttf font/otf application/x-font-otf font/opentype </IfModule> </IfModule> Proszę o pomoc Pozdrawiam. MM Link to comment Share on other sites More sharing options...
krzysiek_web Posted December 1, 2016 Share Posted December 1, 2016 Kompresje js, css, html też masz włączone? Link to comment Share on other sites More sharing options...
miccom Posted December 2, 2016 Author Share Posted December 2, 2016 U PA czy w .htaccess? Link to comment Share on other sites More sharing options...
e_com Posted December 2, 2016 Share Posted December 2, 2016 To nie chodzi o kompresję CCC (która tak naprawdę nie jest żadną kompresją tylko minifikacją), a o kompresję gzip w php. Sprawdź phpinfo() czy masz w php zainstalowany moduł zlib z konfiguracją: Stream Filter: zlib.inflate, zlib.deflate Link to comment Share on other sites More sharing options...
miccom Posted December 2, 2016 Author Share Posted December 2, 2016 Mam taki zapis w php_info() Stream Filter => zlib.inflate, zlib.deflate I dalej coś takiego: zlib.output_compression => Off => Off zlib.output_compression_level => -1 => -1 zlib.output_handler => no value => no value Link to comment Share on other sites More sharing options...
e_com Posted December 2, 2016 Share Posted December 2, 2016 O tę stronę chodzi? https://gtmetrix.com/reports/www.bykalaa.pl/qNj5wWva To kompresja gzip jest poprawnie skonfigurowana. Inne ustawienia możesz poprawić. Nie wiem po co fonty wietnamskie, greckie i cyrylica? Foto głównego banera o rozdzielczości ponad 8000px to za grubo Link to comment Share on other sites More sharing options...
miccom Posted December 2, 2016 Author Share Posted December 2, 2016 Nie, ta strona też jest na moim serwerze ale chodzi o www.caser.pl Link to comment Share on other sites More sharing options...
e_com Posted December 2, 2016 Share Posted December 2, 2016 Na tej stronie też kompresja jest aktywna. Masz wczytywane kupę obcej treści do strony (ceno, fejsiki, google) i jeden farfocel tekstowy z ceneo nie jest kompresowany i to o niego plują się analizatory wydajności. Ten konkretnie: http://ssl.ceneo.pl/shops/sw.js?accountGuid=8b9a6e87-351d-466c-9147-ab29b1fa8604 Tu pełny raport co możesz poprawić: https://gtmetrix.com/reports/www.caser.pl/08gUYunX Np. takie mini obrazeczki można zastąpić przez data/uri w css. Link to comment Share on other sites More sharing options...
miccom Posted December 2, 2016 Author Share Posted December 2, 2016 (edited) Ok, sprite ogarnę, ale nadal mówią o cache... I Enable gzip compression Edited December 2, 2016 by miccom (see edit history) Link to comment Share on other sites More sharing options...
e_com Posted December 4, 2016 Share Posted December 4, 2016 Bo wczytujesz do swojej strony obce nieskompresowane treści tekstowe. Musisz się włamać na serwer ceneo i go skonfigurować aby kompresował ten plik. Link to comment Share on other sites More sharing options...
lukash4 Posted December 5, 2016 Share Posted December 5, 2016 Kiedyś już szukałem ale nic nie znalazłem... sprawdzając sklep przez PageSpeed otrzymuję błąd: PageSpeed Insights uzyskało z serwera odpowiedź 503. kwestia konfiguracji presty czy serwera? Pisać do supportu hostingu? Link to comment Share on other sites More sharing options...
e_com Posted December 5, 2016 Share Posted December 5, 2016 Kiedyś już szukałem ale nic nie znalazłem... sprawdzając sklep przez PageSpeed otrzymuję błąd: PageSpeed Insights uzyskało z serwera odpowiedź 503. kwestia konfiguracji presty czy serwera? Pisać do supportu hostingu? Przyczyną tego błędu może być nieprawidłowy rekord 'A' w konfiguracji DNS. Sprawdź swoją domenę: http://dnscheck.pingdom.com/ Link to comment Share on other sites More sharing options...
miccom Posted December 6, 2016 Author Share Posted December 6, 2016 Ok, sprite ogarniętyTeraz mam polecenie, aby włączyć kompresję: Kompresja http://www.caser.pl/themes/miccom_caser2/cache/v_40_7cbd128830d895079dc0a843a1f2dd5f_all.css pozwoliła zredukować rozmiar o 195.6 KB (82%) Kompresja http://www.caser.pl/themes/miccom_caser2/cache/v_31_738d593b6e12da1923bb8e21bf043a4b.js pozwoliła zredukować rozmiar o 186.4 KB (69%) Jak kompresować cache? Link to comment Share on other sites More sharing options...
lukash4 Posted December 6, 2016 Share Posted December 6, 2016 Przyczyną tego błędu może być nieprawidłowy rekord 'A' w konfiguracji DNS. Sprawdź swoją domenę: http://dnscheck.pingdom.com/ Sprawdziłem, zero błędów wszystko na zielono... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now