 |
|
 |
Hi,
First I want to thank you for this article. It is pretty straightforward. How ever it did not work for me.
When I check "WINDOWS\IIS Temporary Compressed Files" folder I see only .html and .txt files are being compressed. When I check with yslow it is still telling me to compress .css files. I also double checked on IIS manager to see if the compression is active.
Do you have any idea why it is not working?
Thanks in advance...
|
|
|
|
 |
|
 |
Did you add css to the list of files in the meta database explorer?
Also, you will not see aspx files in the temp folder because they are dynamic.
I didn't get any requirements for the signature
|
|
|
|
 |
|
|
 |
|
 |
You are right, it is not compressing .css. Yslow is giving my sites a B for gzip compression. Everything is compressed except the css. I don't know what to do about that. Sorry.
I didn't get any requirements for the signature
|
|
|
|
 |
|
 |
I think I sort it out. Try to put extentions on HcFileExtensions key instead of HcScriptFileExtentions
It worked for me...
I also found this article, useful http://www.smallworkarounds.net/2009/01/aspnet-iis-tricks-using-gzip.html
|
|
|
|
 |
|
 |
Cool. Thanks for replying.
I didn't get any requirements for the signature
|
|
|
|
 |
|
 |
Did all that many times on different machines in different ways with adsutil.vbs, by manual editing metabase.xml, via Metabase Explorer. Restarted IIS.
All server compression settings look fine.
It just doesn't have any effect on any output from IIS.
Fiddler doesn't show the contents has been compressed.
Can it be an ethernet proxy/firewall/antivirus which disables compression?
Is their any injectable http request header, which could prevent compression?
Please give me ideas!!!
IIS 6.0/Win2003
Thanks, Andrey.
|
|
|
|
 |
|
 |
Hi there,
Thank you for your article, I applied this 2 development servers. On one everything is working fine, but on the other, when I look in YSlow gifs are being gzipped and the login page is not displaying correctly. I am also getting the following error -
Error: The stylesheet http://ukromwsapp008/JapanB2B/Security/Login.aspx?ReturnUrl=%2fJapanB2B%2fApp_Themes%2fJapanB2B%2fcss%2fJapanStyleSheet.css was not loaded because its MIME type, "text/html", is not "text/css".
Source File: http://ukromwsapp008/JapanB2B/Security/Login.aspx?ReturnUrl=%2fJapanB2B%2fDefault.aspx
Line: 0
My MIME type are all set up correctly, any ideas as to why this might be happening?
Many Thanks,
Julie
|
|
|
|
 |
|
 |
Have you made sure that the *.css file is not protected by FormsAuthentication, i. e. by making a location exception in your Web.config ?
|
|
|
|
 |
|
 |
Hi Claus, Thank you for responding, the cause of this problem was short URLs, they were set up on one server but not the other. I have removed the short URLs and all is working perfectly again.
Regards,
Julie
|
|
|
|
 |
|
 |
i did exactly what you said in the article step by step, but i see that yslow still saying that GZIP failed, should i do something after setting these value? i just restarted the iis after finish, or should i wait some time?
And Also when i opened the files "js, aspx, css" i didn't find any files compressed.
Note i set the level of compression to 9
Thanks,
|
|
|
|
 |
|
 |
When you expand the failed section in Yslow, Did it say which files did not have compression? Perhaps there is an extension you missed.
I didn't get any requirements for the signature
|
|
|
|
 |
|
 |
No, its showing files .js and i am sure i put to compress, but i have a question:
when i open scripts tab in firebug, i don't see any files compressed, is that normal?
And i set the HcDynamicCompressionLevel to 9, is that good, or should i make it higher?
Thanks,
|
|
|
|
 |
|
 |
amrelgarhy81 wrote: No, its showing files .js and i am sure i put to compress, but i have a question:
when i open scripts tab in firebug, i don't see any files compressed, is that normal?
I think the file is deflated before you view it. If only the .js is uncompressed then the compression is probably working. YSlow should give the size of the httpresponse as well. It should be lower if the compression is on.
I'm not sure what the best setting is for the DynamicCompressionLevel. I set it to 9 as well. I did find this post via Google.
http://www.wwwcoder.com/main/parentid/170/site/3669/68/default.aspx[^]
I didn't get any requirements for the signature
|
|
|
|
 |
|
 |
I run IIS 6 and Windows 2003 (all the pre-requisites) but the services tab is not being displayed to me. And yes, I did precisely follow the steps you described in the article (twice just to make sure). All tabs are present except that Services one. What can I do in this case?
---------
Andre Sanches
"UNIX is friendly, it's just picky about its friends"
|
|
|
|
 |
|
 |
Make sure you right click on "web sites" if you click on any level other than that it will not be available.
I didn't get any requirements for the signature
|
|
|
|
 |