|
Web Design ![]() This website demonstrates using wikis as teaching and learning tool. The course instructor is happy to share the teaching materials here with those who find it readable. |
Tutorial /
Website OptimizationOverview: In this tutorial, you will do some exercises about CSS Sprite and web image optimization. You will also learn more about website optimization. ![]() Activity One: CSS Sprite
(Q1) How many HTTP requests you have saved after using CSS Sprite?
Activity Two: Image Optimization
(Q2) Find one web page there that you think the images are properly formatted and optimized. Explain your reasons.
(Q3) Find one web page there that you can optimize the use of web images. Explain why the use of web image is not optimized and suggest how to optimize it. (Hints: note the file format of the images used in the Website.)
(Q4) How much you can save in your testing of image optimization?
Activity Three
(Q5) Discuss any advantages of hosting images in a sub-domain.
Activity Four: Compress CSS
(Q6) Use this site's CSS as an example, how much you can compress?
(Q7) Give three examples of how the CSS is compressed.
Activity Five
ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js?ver=2.9.2
(Q8) Based on your observation, discuss how the payload size is minimized in the communication between the web server and the browser.
Submission
|