How to reference jquery-1.2.6.min.js when zipped with gzip
I am about to use jQuery on an embedded webserver where every kb counts. So i would like to how to reference jquery.js if it is zipped up?
Could I just reference the gzipped file as external javascript file?
I gzipped the jquery-1.2.6.min.js myself and referenced it this way:
-
<script src="lib/jquery/jquery-1.2.6.min.js.gz" type="text/javascript"></script>
But then the browser tries to parse it as text file and gives an
illegal character
error. I tested with firefox and ie on winxp.
Thanks in advance.
[@admin: sry for the double post]
[edit: title]