I have a problem, I have to gzip a prototype Lib, but i totaly have no idea how to do this, where to start and how does it works. :)
I find some tutorials but that wasn\
You can use apache's mod_deflate to automatically compress your files on the fly.
Example:
AddOutputFilterByType DEFLATE text/html text/xml text/css text/javascript
[edit]
To check if your apache server has already output compression enabled, put the example above into an .htaccess file. Then load an html or js file via the server and check the headers for "Content-Encoding", if it says gzip or deflate, it is enabled.