* oprava: FF - plugin webdeveloper - menu Informace > Zobrazit Velikost dokumentu
Na tehle strance treba pise 1MB
http://www.bikeride.sk/kenzel-detske/
- | Velikost | Velikost po rozbalení
4 Dokumenty 150 kb 183 kb
60 Obrázky 343 kb 343 kb
0 Objekty
4 Scripty 333 kb 357 kb
28 Soubory stylů 112 kb 112 kb
96 Soubory 938 kb 994 kb
Spravna velikost stranky html+css+js+obrazky je kolem 40k. U shopu je to obvykle vic, kvuli obrazkum. Google indexuje html kod do 40k, treba.
Nespis bych zvazil pouzit jiny CMS. Pochybuji, ze bys dokazal 500 kb JS kodu sam zmensit nebo minifikovat. Na ty efekty, co mas na strance, staci kolem 10 kb.
Google ma pekny analyzacni nastroj, ktery ti nejspis doporuci kesovani (viz KIIV), ukladani do html souboru, zipovani.
Suggestions Summary
* !!! Reduce server response time to under 200ms
In our test, your server responded in 15.9 seconds. There are many factors that can slow down your server response time. Please read our recommendations to learn how you can monitor and measure where your server is spending the most time.
(pisou, ze 16s trvalo, nez to 1.5M prenesl ze serveru)
* !!! Eliminate external render-blocking Javascript and CSS in above-the-fold content
Your page has 2 blocking script resources and 28 blocking CSS resources.
(= sloucit js css do jednoho souboru)
* !!! Enable compression
Compressing resources with gzip or deflate can reduce the number of bytes sent over the network.
(zapnout gzip, to by ti usporilo asi 800k, kdyz by ten css a js zkomprimoval)
* !!! Minify CSS
Compacting CSS code can save many bytes of data and speed up downloading, parsing, and execution time
(minifikovat css, coz je takovy jakysi druh komprese, tez).
* Optimize images
* Properly formatting and compressing images can save many bytes of data.
(obrazky se mu zdaji optimalni, to teda koukam, kdyz tam mas tu ikonu 12x12, co ma 200k :) )
* Leverage browser caching
Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk rather than over the network.
(kesovani pro prohlizece)
* Minify JavaScript
Compacting JavaScript code can save many bytes of data and speed up downloading, parsing, and execution time.
(minifikovani js, tez ok, nejspis tvuj js framework uz je minifikovany, asi nejake jquery, nezkoumal jsem to)
* Avoid landing page redirects
* Minify HTML
* Prioritize visible content