I followed this link to gzip my php driven website It's working fine but what happened is I checked my website in this link http://gzipwtf.com/
and as well as checked it in web developer toolbar in mozila whether css and javascripts are gzipped or not, I found only external css and javascripts are gzipped while internal css and javascripts are not gzipped. I have no idea what went wrong.
UPDATE:
Internal CSS and javascript such as http://www.myserver.com/style.css
are not gzipped
while external css and javascipt such as https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
are gzipped.
The jQuery JS is loaded from Google's servers, which gzips it. You need to configure your server to gzip the static files (JS/CSS) on your server.
Do a Google search on "[insert server name] gzip", and you'll probably find countless tutorials :)