Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old April 3rd, 2008, 10:48 AM
omerbutt's Avatar
Familiar Sight
 
Join Date: Nov 2006
Posts: 227
Default using Gzip components in iis

hi every one i was surfing the net for the sake of high performance websites knowledge and came across the issue of how to use gzip in IIS all the info given there on yahoo is about APACHE but i am using IISver5.1 for asp,how can i enable it on IIS
regards
Omer
Reply
  #2  
Old April 3rd, 2008, 12:49 PM
kenobewan's Avatar
Moderator
 
Join Date: Dec 2006
Posts: 4,667
Default

Try the gzip site:
Frequently Asked Questions
Reply
  #3  
Old April 3rd, 2008, 04:37 PM
omerbutt's Avatar
Familiar Sight
 
Join Date: Nov 2006
Posts: 227
Default

Quote:
Originally Posted by kenobewan
Try the gzip site:
Frequently Asked Questions
i cant get any thing from the link that you have sent me although i am still searching ,all the matter there available is related with the people that already know how to use it and are having problems reagarding to use it ,,,,,,,,,,,,,,I DONT KNOW WHERE TO START FROM ...
can you guide me ?
regards,
Omer.
Reply
  #4  
Old April 7th, 2008, 10:01 AM
Newbie
 
Join Date: Mar 2008
Posts: 3
Default

Quote:
Originally Posted by omerbutt
how to use gzip in IIS all the info given there on yahoo is about APACHE but i am using IIS

Omer
I have to agree. The 'FAQ spammers' seem not to have read the very pages to which they link. The question isn't how to zip a file. The question is how to get IIS to serve a zipped file so that the browser will reflate/expand it.

People have to think about what that means. It means that the browser is sending a request not for a file with a zip extension, or gz extension, or whatever, but with a .js extension, say, for javascript. And IIS is supposed to route that request to a pre-zipped version of that javascript, which the site owner has separately uploaded, and send it back to the browser with the same suffix, .js. That way, the browser will use its own routine to decompress the file and load it as a normal javascript. But far fewer bytes will have been sent than if it hadn't been compressed, is all. And that's a lot that has to happen. And I don't know of any 'FAQ' that can handle such questions.

In Apache, it's easy. Set .htaccess. All is well. Decompression occurs at the server. And redirects are possible, as well, to a pre-zipped file. But IIS seems more designed as a desktop OS, where it's just assumed everyone would have administrator privileges. Because I get the impression that in order to either a) compress at the server or b) route to a precompressed version of the file, that access to popup command consoles is required. And on shared servers, Microsoft doesn't seem to understand that a) those running the service may be clueless and b) those paying for shared hosting have no access to those control panels.

I do use server-side compression with Apache. I haven't tried with my IIS sites, obviously. But I wonder if on a file by file basis, which is much more limited, that one couldn't get around IIS restrictions using PHP? Many shared hosting services provide both ASP and PHP on their Microsoft servers.
Reply
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles