Plan to find 6 hours to work on this course: 30 minutes a time, one by one.
CSS in-depth 6 hour course
http://app.pluralsight.com/author/estelle-weyl
1. Go over the slides on the website: (plan to take 1 hour first)
http://lanyrd.com/profile/estellevw/slides/
2. Julia's favorite - great input for Julia to build great mobile website!
http://estelle.github.io/mobilecss/#slide4
3. Get to know a new tool: YSlow
http://yslow.org/
Read 34 rules of web performance best practices and rules:
Yahoo!'s Exceptional Performance team has identified 34 rules that affect web page performance. YSlow's web page analysis is based on the 23 of these 34 rules that are testable. Click each performance rule below to see the details.
- Minimize HTTP Requests
- Use a Content Delivery Network
- Avoid empty src or href
- Add an Expires or a Cache-Control Header
- Gzip Components
- Put StyleSheets at the Top
- Put Scripts at the Bottom
- Avoid CSS Expressions
- Make JavaScript and CSS External
- Reduce DNS Lookups
- Minify JavaScript and CSS
- Avoid Redirects
- Remove Duplicate Scripts
- Configure ETags
- Make AJAX Cacheable
- Use GET for AJAX Requests
- Reduce the Number of DOM Elements
- No 404s
- Reduce Cookie Size
- Use Cookie-Free Domains for Components
- Avoid Filters
- Do Not Scale Images in HTML
- Make favicon.ico Small and Cacheable
http://html5-demos.appspot.com/static/css/filters/index.html
(memorize 10 keywords: b b c d g h i o s s)
blur
brightness
contrast
drop-shadow
grayscale
hue-rotate
invert
opacity
saturate
sepia
5.
http://static.lukew.com/TouchGestureGuide.pdf
Core gestures:
Tap,
double tap,
Drag,
Flick,
Pinch,
Spread,
Press,
Press and tap,
Press and drag,
Rotate
6. Google page speed tools
- Analyze your site performance -
https://developers.google.com/speed/pagespeed/?csw=1
6B. Page Speed - Go over each main point for 5 minute study:
1. leverage browser caching
Leveraging Browsing caching for images, CSS and JS
https://www.siteground.com/kb/leverage-browser-caching/
http://stackoverflow.com/questions/23923039/wordpress-leverage-browser-caching
2. Enable compression
3. Defer parsing of JavaScript
4. Minimize request size
5. Specify a cache validator
6. Optimize images
7. Minify JavaScript
8. Minify HTML
9. specify image dimensions
10. Specify a character set
11. Specify a Vary: Accept Encoding Header
12. Avoid long-running scripts
13. Avoid CSS @import
14. Avoid bad requests
15. Enable Keep-Alive
16. Make landing page redirects cacheable
17. Minify CSS
18. Minimize redirects
19. Optimize the order of styles and scripts
20. Put CSS in the document head
21. Remove query strings from static resources
7. Sprites - reduce requests -
8. ImageAlpha
Reduce image file size - lossy compression
9. https://pngmini.com/
10. Responsive design - RDS
http://estelle.github.io/rwdpanacea/#slide12
11. Debugging tools for mobile website:
1. Charles proxy
https://www.charlesproxy.com/
2. fiddler
3. browser stack
www.browserstack.com
4. device anywhere
www,keynotedeviceanywhere.com
Julia's comment:
1. Great teaching, first CSS expert Julia knows - love the course - CSS in-depth - pluralsight.com
2. web performance best practices and rules - how many Julia breaks?
No comments:
Post a Comment