We belatedly noticing that we didn't turn gzip compression on for our Apache web server. After turning it on, we ran the Apache benchmarking tool and didn't notice any improvement. To get the ab tool to accept compression you need to have it pass the correct header as follows:
ab -n 100 -H "Accept-Encoding: gzip, deflate" http://......
It was quite simple. On our local network we didn't see any improvement since everything is fast. From home and on smart phones, you do see a difference.
A blog about software development, primarily in Java and about web applications.
About Me
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment