ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ
§°§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §ã§Ü§à§â§à§ã§ä§Ú
§Ù§Ñ§Ô§â§å§Ù§Ü§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è
§¥§Ú§Þ§Ñ §¥§å§Õ§Ú§ß @nedudi
§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ §à§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §á§â§à§Ú§Ù§Ó§à§Õ§Ú§ä§Ö§Ý§î§ß§à§ã§ä§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è. Google pagespeed.
§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ §à§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §á§â§à§Ú§Ù§Ó§à§Õ§Ú§ä§Ö§Ý§î§ß§à§ã§ä§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è. Google pagespeed.
§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ §à§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §á§â§à§Ú§Ù§Ó§à§Õ§Ú§ä§Ö§Ý§î§ß§à§ã§ä§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è. Google pagespeed.
§©§Ñ§é§Ö§Þ ?
¡­ §ß§Ö§å§Ø§Ö§Ý§Ú §ï§ä§à §ä§Ñ§Ü §Ó§Ñ§Ø§ß§à
1§ã§Ö§Ü§å§ß§Õ§Ñ?
§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ §à§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §á§â§à§Ú§Ù§Ó§à§Õ§Ú§ä§Ö§Ý§î§ß§à§ã§ä§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è. Google pagespeed.
§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ §à§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §á§â§à§Ú§Ù§Ó§à§Õ§Ú§ä§Ö§Ý§î§ß§à§ã§ä§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è. Google pagespeed.
§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ §à§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §á§â§à§Ú§Ù§Ó§à§Õ§Ú§ä§Ö§Ý§î§ß§à§ã§ä§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è. Google pagespeed.
1 §ã§Ö§Ü§å§ß§Õ§Ñ §Ó WEB
11% - §á§à§ä§Ö§â§ñ §Ü§à§Ý§Ú§é§Ö§ã§ä§Ó§Ñ
§á§â§à§ã§Þ§à§ä§â§à§Ó.
16% - §á§à§ä§Ö§â§ñ §å§Õ§à§Ó§Ý§Ö§ä§Ó§à§â§Ö§ß§ß§à§ã§ä§Ú
§Ü§Ý§Ú§Ö§ß§ä§à§Ó.
7% - §á§à§ä§Ö§â§ñ §Ü§à§ß§Ó§Ö§â§ã§Ú§Ú.
§¬§à§ß§Ó§Ö§â§ã§Ú§ñ §Þ§Ñ§Ô§Ñ§Ù§Ú§ß§à§Ó
§å§Ó§Ö§Ý§Ú§é§Ú§Ó§Ñ§Ö§ä§ã§ñ §ß§Ñ
74%
§á§â§Ú §å§Þ§Ö§ß§î§ê§Ö§ß§Ú§Ú
§Ó§â§Ö§Þ§Ö§ß§Ú §Ù§Ñ§Ô§â§å§Ù§Ü§Ú
§ã 8 §Õ§à 2 §ã§Ö§Ü§å§ß§Õ
§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ §à§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §á§â§à§Ú§Ù§Ó§à§Õ§Ú§ä§Ö§Ý§î§ß§à§ã§ä§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è. Google pagespeed.
§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ §à§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §á§â§à§Ú§Ù§Ó§à§Õ§Ú§ä§Ö§Ý§î§ß§à§ã§ä§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è. Google pagespeed.
§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ §à§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §á§â§à§Ú§Ù§Ó§à§Õ§Ú§ä§Ö§Ý§î§ß§à§ã§ä§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è. Google pagespeed.
§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ §à§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §á§â§à§Ú§Ù§Ó§à§Õ§Ú§ä§Ö§Ý§î§ß§à§ã§ä§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è. Google pagespeed.
§¥§Ö§ß§î§Ô§Ú - §ß§Ö §Ô§Ý§Ñ§Ó§ß§à§Ö
§¥§Ö§ß§î§Ô§Ú - §ß§Ö §Ô§Ý§Ñ§Ó§ß§à§Ö
§¤§­§¡§£§¯§°§¦, §é§ä§à-§Ò§í §Ó§ã§Ö §Ò§í§Ý§à
§é§Ö§ä§Ü§à
§¤§­§¡§£§¯§°§¦, §é§ä§à-§Ò§í §Ó§ã§Ö §Ò§í§Ý§à
§é§Ö§ä§Ü§à
§á§â§à§é§å§Ó§ã§ä§Ó§å§Û§ä§Ö §Ò§à§Ý§î¡­
§á§â§à§é§å§Ó§ã§ä§Ó§å§Û§ä§Ö §Ò§à§Ý§î¡­
§¬§Ñ§Ü §á§à§ß§ñ§ä§î ?
¡­ §Ñ§ß§Ñ§Ý§Ú§Ù§í, §Ñ§ß§Ñ§Ý§Ú§Ù§í
Pingdom
Pingdom
YSLOW
WEBPAGETEST
pagespeed
pagespeed
pagespeed
§´§Ú§á§à§Ó§í§Ö §á§â§à§Ò§Ý§Ö§Þ§í
¡­ §ä§ñ§Ø§Ü§à §Ø§Ú§ä§î §Ó§Ö§Ò-§â§Ñ§Ù§â§Ñ§Ò§à§ä§é§Ú§Ü§å
§²§¡§©§®§¦§²
§ª§©§°§¢§²§¡§¨§¦§¯§ª§«
§Ñ§Ó§ä§à
§³§Ø§Ú§Þ§Ñ§Ý§Ü§Ú
§â§Ñ§Ù§â§Ö§Ù§Ñ§Ý§Ü§Ú
§ã§á§â§Ñ§Û§ä§í §Ú §ä§á¡­
grunt-svgmin
gulp-svgmin
grunt-spritesmith
gulp-sprite
grunt-webp
gulp-webp
grunticon
addyosmani.com/blog/image-optimization-tools
§Ú §Ö§ë§Ö §ä§å§ä
frontender.info/performance-optimization
<Picture>
§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ §à§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §á§â§à§Ú§Ù§Ó§à§Õ§Ú§ä§Ö§Ý§î§ß§à§ã§ä§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è. Google pagespeed.
§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ §à§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §á§â§à§Ú§Ù§Ó§à§Õ§Ú§ä§Ö§Ý§î§ß§à§ã§ä§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è. Google pagespeed.
vimeo.com/108326836
<picture>
<source
media="(min-width: 650px)"
srcset="images/kitten-stretching.png">
<source
media="(min-width: 465px)"
srcset="images/kitten-sitting.png">
<img
src=/slideshow/google-pagespeed/46485431/"images/kitten-curled.png"
alt="a cute kitten">
</picture>
scottjehl.github.io/picture?ll
§ª §Ö§ë§Ö ¡­
<img src=/slideshow/google-pagespeed/46485431/¡°hi.png"
height="100" width="100"
/>
§¶§°§²§®§¡§´§½
§ª§©§°§¢§²§¡§¨§¦§¯§ª§«
JPEG
PNG
SVG
§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ §à§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §á§â§à§Ú§Ù§Ó§à§Õ§Ú§ä§Ö§Ý§î§ß§à§ã§ä§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è. Google pagespeed.
Lazy
loading¡­
§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ §à§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §á§â§à§Ú§Ù§Ó§à§Õ§Ú§ä§Ö§Ý§î§ß§à§ã§ä§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è. Google pagespeed.
§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ §à§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §á§â§à§Ú§Ù§Ó§à§Õ§Ú§ä§Ö§Ý§î§ß§à§ã§ä§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è. Google pagespeed.
GZIP
§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ §à§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §á§â§à§Ú§Ù§Ó§à§Õ§Ú§ä§Ö§Ý§î§ß§à§ã§ä§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è. Google pagespeed.
§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ §à§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §á§â§à§Ú§Ù§Ó§à§Õ§Ú§ä§Ö§Ý§î§ß§à§ã§ä§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è. Google pagespeed.
Cachehtml5.by/blog/cache
CACHE §à§ä§Ü§Ý§ð§é§Ö§ß
1. Last-Modified
2. ETag
3. EXPIRES
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType text/x-javascript "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresDefault "access plus 2 days"
</IfModule>
server {
...
location ~* .(gif|ico|jpe?g|png)(?[0-9]+)?$ {
expires 1w;
}
location ~* .(css|js)$ {
expires 1d;
}
...
}
4. MAX AGE
<ifModule mod_headers.c>
<FilesMatch ".(gif|ico)$">
Header set Cache-Control "max-age=2592000, public"
</FilesMatch>
<FilesMatch ".(js)$">
Header set Cache-Control "max-age=86400,
private, must-revalidate"
</FilesMatch>
<FilesMatch ".(php)$">
Header set Cache-Control "private, no-store, no-cache,
must-revalidate, no-transform, max-age=0"
Header set Pragma "no-cache"
</FilesMatch>
</ifModule>
server {
...
location ~* .(?:ico|css|js|gif|jpe?g|png)$ {
add_header Cache-Control "max-age=86400, public";
}
...
}
§à§Ò§æ§å§ã§Ü§Ñ§è§Ú§ñ
js §ãss html
§³§Ò§à§â§Ü§Ñ
js §ãss
JavaScript
§Ó §Ü§à§ß§Ö§è §Õ§à§Ü§å§Þ§Ö§ß§ä§Ñ
CSS
§Ó §ß§Ñ§é§Ñ§Ý§à §Õ§à§Ü§å§Þ§Ö§ß§ä§Ñ
?
CDN
:( :)
§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ §à§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §á§â§à§Ú§Ù§Ó§à§Õ§Ú§ä§Ö§Ý§î§ß§à§ã§ä§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è. Google pagespeed.
§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ §à§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §á§â§à§Ú§Ù§Ó§à§Õ§Ú§ä§Ö§Ý§î§ß§à§ã§ä§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è. Google pagespeed.
DNS
Lookup time
§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ §à§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §á§â§à§Ú§Ù§Ó§à§Õ§Ú§ä§Ö§Ý§î§ß§à§ã§ä§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è. Google pagespeed.
feedthebot.com/tools/requests
feedthebot.com/tools/requests
WTF?
<link rel="dns-prefetch" href="//trololo.com">
Enable
Keep-AlivE
§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ §à§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §á§â§à§Ú§Ù§Ó§à§Õ§Ú§ä§Ö§Ý§î§ß§à§ã§ä§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è. Google pagespeed.
§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ §à§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §á§â§à§Ú§Ù§Ó§à§Õ§Ú§ä§Ö§Ý§î§ß§à§ã§ä§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è. Google pagespeed.
§Ú§Ù§Ò§Ö§Ô§Ñ§Ö§Þ
javascript
§â§Ö§Õ§Ú§â§Ö§Ü§ä§à§Ó
§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ §à§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §á§â§à§Ú§Ù§Ó§à§Õ§Ú§ä§Ö§Ý§î§ß§à§ã§ä§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è. Google pagespeed.
§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ §à§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §á§â§à§Ú§Ù§Ó§à§Õ§Ú§ä§Ö§Ý§î§ß§à§ã§ä§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è. Google pagespeed.
2013 GRUNT
2013 GRUNT
2014 GULP
2013 GRUNT
2014 GULP
¡­2015 GROLOLO
2013 GRUNT
2014 GULP
¡­2015 GROLOLO
2013 GRUNT
2014 GULP
¡­2015 GROLOLO
2013 GRUNT
2014 GULP
¡­2015 GROLOLO
2013 GRUNT
2014 GULP
¡­2015 GROLOLO
2013 GRUNT
2014 GULP
¡­2015 GROLOLO
2005-2012
2005-2012
+
2005-2012
+
2005-2012
?
+
2005-2012
?=
+
2005-2012
?=
+
2005-2012
?=
§ç§à§é§å
§Ó§ã§Ö
§Ú
§ã§â§Ñ§Ù§å
§ç§à§é§å
§Ó§ã§Ö
§Ú
§ã§â§Ñ§Ù§å
pagespeed
pagespeed
§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ §à§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §á§â§à§Ú§Ù§Ó§à§Õ§Ú§ä§Ö§Ý§î§ß§à§ã§ä§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è. Google pagespeed.
developers.google.com/speed/pagespeed/module/?lters
Build from source :( Package :)
Build from source :( Package :)
Apache
ModPagespeedEnableFilters collapse_whitespace
Nginx
pagespeed EnableFilters collapse_whitespace;
Collapse Whitespace
Apache
ModPagespeedEnableFilters insert_dns_prefetch
Nginx
pagespeed EnableFilters insert_dns_prefetch;
Pre-Resolve DNS
Apache
ModPagespeedEnableFilters combine_css
Nginx
pagespeed EnableFilters combine_css;
combine css
§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ §à§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §á§â§à§Ú§Ù§Ó§à§Õ§Ú§ä§Ö§Ý§î§ß§à§ã§ä§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è. Google pagespeed.
Apache
ModPagespeedEnableFilters rewrite_css
Nginx
pagespeed EnableFilters rewrite_css;
Minify CSS
Apache
ModPagespeedEnableFilters move_css_to_head
Nginx
pagespeed EnableFilters move_css_to_head;
Move CSS to Head
Apache
ModPagespeedEnableFilters prioritize_critical_css
Nginx
pagespeed EnableFilters prioritize_critical_css;
Prioritize Critical CSS
Apache
ModPagespeedEnableFilters combine_javascript
Nginx
pagespeed EnableFilters combine_javascript;
combine js
Apache
ModPagespeedEnableFilters rewrite_javascript
Nginx
pagespeed EnableFilters rewrite_javascript;
Minify Js
Apache
ModPagespeedEnableFilters canonicalize_javascript_libraries
Nginx
pagespeed EnableFilters
canonicalize_javascript_libraries;
Canonicalize JavaScript Libraries
Apache
ModPagespeedEnableFilters
include_js_source_maps
Nginx
pagespeed EnableFilters
include_js_source_maps;
Include JavaScript Source Maps
Apache
ModPagespeedEnableFilters
move_css_above_scripts
Nginx
pagespeed EnableFilters
move_css_above_scripts;
Move CSS Above Scripts
Apache
ModPagespeedEnableFilters defer_javascript
Nginx
pagespeed EnableFilters defer_javascript;
Defer JavaScript
Apache
ModPagespeedEnableFilters dedup_inlined_images
Nginx
pagespeed EnableFilters dedup_inlined_images;
Deduplicate Inlined Images
Apache
ModPagespeedEnableFilters elide_attributes
Nginx
pagespeed EnableFilters elide_attributes;
Elide Attributes
§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ §à§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §á§â§à§Ú§Ù§Ó§à§Õ§Ú§ä§Ö§Ý§î§ß§à§ã§ä§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è. Google pagespeed.
Apache
ModPagespeedEnableFilters extend_cache
Nginx
pagespeed EnableFilters extend_cache;
Extend Cache
Apache
ModPagespeedEnableFilters flatten_css_imports
Nginx
pagespeed EnableFilters flatten_css_imports;
Flatten CSS Imports
Apache
ModPagespeedEnableFilters lazyload_images
Nginx
pagespeed EnableFilters lazyload_images;
Lazyload Images
Apache
ModPagespeedEnableFilters sprite_images
Nginx
pagespeed EnableFilters sprite_images;
Sprite Images
Apache
ModPagespeedEnableFilters rewrite_images
Nginx
pagespeed EnableFilters rewrite_images;
Optimize Images
inline_images +
inline_preview_images +
recompress_images +
convert_jpeg_to_webp +
resize_images
<img src=/slideshow/google-pagespeed/46485431/¡°data:image/png;base64,iVBORw¡­¡±>
<img src=¡°girl.png¡±>
¡­
Apache
ModPagespeedEnableFilters local_storage_cache
Nginx
pagespeed EnableFilters local_storage_cache;
Local Storage Cache
§¿§¬§³§±§¦§²§ª§®§¦§¯§´§ª§²§µ§«§´§¦
§¿§¬§³§±§¦§²§ª§®§¦§¯§´§ª§²§µ§«§´§¦
§¯§ª§¬§°§®§µ §¯§¦ §£§¦§²§¾§´§¦
§¯§ª§¬§°§®§µ §¯§¦ §£§¦§²§¾§´§¦
@nedudi @html5by
§£§à§á§â§à§ã§í ? nedudi@gmail.com
html5.by
vk.com/html5by
facebook.com/html5by
twitter.com/html5by

More Related Content

§¨§Ö§ã§ä§à§é§Ñ§Û§ê§Ñ§ñ §à§á§ä§Ú§Þ§Ú§Ù§Ñ§è§Ú§ñ §á§â§à§Ú§Ù§Ó§à§Õ§Ú§ä§Ö§Ý§î§ß§à§ã§ä§Ú §Ó§Ö§Ò-§ã§ä§â§Ñ§ß§Ú§è. Google pagespeed.