Link to home
Start Free TrialLog in
Avatar of fischermx
fischermxFlag for Mexico

asked on

How to send an encoded (gzip) javascript file?

I'm using IIS6. I have a website that responds with a javascript file to other websites.
The file is not being sent encoded. Using web-sniffer and analyzing similar sites to mine, I see the others send the file encoded thus reducing the file size a lot.
I just put the file .js file in the corresponding directory and it is being requested just like that.
What do I need to do to send this file encoded(compressed with gzip) ?

ASKER CERTIFIED SOLUTION
Avatar of dnojcd
dnojcd
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fischermx

ASKER

Yes, I did that, but I was missing the part about editing the metabase.xml file.


Thanks !
BTW, does this affect all the websites ?
Can I do it for just one website only ?