I don't know if browsers support getting javascript files that are gzipped, but they should?
I have this in Web server admin under "GZIP Compression Tuning":
Compressible Types: text/*
Min Static File Size (bytes): 300
All text files should be compressed then (have none smaller than 300 bytes. =))
The css files I have are included in html like below and that works beautifully. A static .lsz-file is created and according to http://www.websiteoptimization.com my css-file is of size 2KiB, it's 25 KiB uncompressed.
<style type="text/css" media="screen"><!-- @import url(/style.css.php?lang=SE); --></style>
The js files I have are included like this:
<script type="text/javascript" src="/js/functions.js"></script>
Javascript files do not get the static .lsz-file and their size through websiteoptimization matches the original size.
I tried adding this to admin:
Compressible Types: text/*, application/x-javascript
Now .lsz-files are generated for the js-files, but websiteoptimization still reports the original size.
I have this in Web server admin under "GZIP Compression Tuning":
Compressible Types: text/*
Min Static File Size (bytes): 300
All text files should be compressed then (have none smaller than 300 bytes. =))
The css files I have are included in html like below and that works beautifully. A static .lsz-file is created and according to http://www.websiteoptimization.com my css-file is of size 2KiB, it's 25 KiB uncompressed.
<style type="text/css" media="screen"><!-- @import url(/style.css.php?lang=SE); --></style>
The js files I have are included like this:
<script type="text/javascript" src="/js/functions.js"></script>
Javascript files do not get the static .lsz-file and their size through websiteoptimization matches the original size.
I tried adding this to admin:
Compressible Types: text/*, application/x-javascript
Now .lsz-files are generated for the js-files, but websiteoptimization still reports the original size.