Hey guys -compression ratios.
I am trying to understand how to complete the steps below, which have to do with measuring response times in Apache. Mind you, I've never worked with Apache or any other type of server before, so your help would be most appreciated.
When following the steps below, please go to the following link which contains two files that are needed in order to complete this task :
Files Link: https://www.dropbox.com/sh/xf7a7q5ogkt5s54/AACkNHdzFcLizsriVgMBqLaGa?dl=0
What were your answers to the questions that are asked below? What were your results?
STEPS
1.) Configure your server with two document directories 'compressed' and 'uncompressed'. In each directory place the files "large_image" and "large_text".
2.) Configure Apache to use HTTP compression when serving files from the 'uncompressed' directory but not to use HTTP compression when serving files from the 'compressed' directory.
3.) Add a custom header to report the response time for Apache when serving these files from both the 'compressed' and 'uncompressed' directories and record the values.
4.) Log the compression ratios for both the image file and the text file using the "CustomLog" directive when serving files from the 'uncompressed' directory.
5.) Is the response time better when serving files from the 'compressed' or the 'uncompressed' directory? Is the compression ratio higher when serving image or text files? Explain why you are seeing the results, and include the response times and
6.) Showcase your config files, log files, and your results.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 293 |
Nodes: | 16 (2 / 14) |
Uptime: | 235:49:12 |
Calls: | 6,624 |
Files: | 12,172 |
Messages: | 5,319,769 |