We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

httpCompression and .js files (why .js is handled as a dynamic type from iis7?) [Answered]RSS

11 replies

Last post Feb 19, 2007 02:33 AM by Marzullo

  • httpCompression and .js files (why .js is handled as a dynamic type from iis7?)

    Feb 04, 2007 02:26 AM|Marzullo|LINK

    Why .js files are considered dynamic content?

    I tought a js. file was a static one.

    I'm saying that becouse in order to receive gzipped encoded .js files in firefox i have to add this line under the dynamicTypes tag.:

    <add mimeType="application/x-javascript" enabled="true" />
     

    Why? i'm confused, .js is static.

    This is my actual httpcompression config:

             <httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files">
                <scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" />
                <staticTypes>
                    <add mimeType="text/*" enabled="true" />
                    <add mimeType="message/*" enabled="true" />
                    <add mimeType="application/x-javascript" enabled="true" />
                    <add mimeType="*/*" enabled="false" />
                </staticTypes>
                <dynamicTypes>
                    <add mimeType="text/*" enabled="true" />
                    <add mimeType="message/*" enabled="true" />
                    <add mimeType="application/x-javascript" enabled="true" />
                    <add mimeType="*/*" enabled="false" />
                </dynamicTypes>
            </httpCompression>

    And..., if i delete <add mimeType="application/x-javascript" enabled="true" /> under dynamicTypes, .js isn't sent to my browser gzipped anymore.

     This is my urlCompression setting:

    <urlCompression doStaticCompression="true" doDynamicCompression="true" />

     Thank you.
     

  • Re: httpCompression and .js files (why .js is handled as a dynamic type from iis7?)

    Feb 05, 2007 11:51 AM|anilr|LINK

    Whether a particular file is static or dynamic on the server depends on your handler configuration - many asp.net apps (among them asp.net atlas, I believe) generate responses to .js files dynamically (.js is mapped to aspnet_isapi.dll) - so only dynamic compression can be applied to .js files in those cases.
    Anil Ruia
    Software Design Engineer
    IIS Core Server
  • Re: httpCompression and .js files (why .js is handled as a dynamic type from iis7?)

    Feb 08, 2007 01:36 AM|Marzullo|LINK

    <script src="../Utils/Utils.js" charset="UTF-8" type="text/javascript"></script>

     This line generates an http request for a .js file.

     Here is the request and answer.

    Request: 

    GET /Utils/Utils.js HTTP/1.1
    Host: localhost
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; it; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
    Accept: */*
    Accept-Language: it-it,it;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    Referer: http://localhost/learnJS/learnJS.html

     

    Response from IIS 7.0


    HTTP/1.x 200 OK
    Content-Type: application/x-javascript
    Content-Encoding: gzip
    Last-Modified: Sat, 03 Feb 2007 21:27:08 GMT
    Accept-Ranges: bytes
    Etag: "7982afda47c71:0"
    Vary: Accept-Encoding
    Server: Microsoft-IIS/7.0
    X-Powered-By: ASP.NET
    Date: Thu, 08 Feb 2007 06:33:09 GMT
    Content-Length: 422

    If i was requesting the .js file through a .aspx script i could undestand, but here i'm just requesting a static file which doesn't change. That's why i can't undestand why IIS7.0 is serving it as a dynamic type. 

    Compression should be active since i'm receiving a gzip encoded response, but to make it happen as i said in my last post, i had to add that line under dynamic types compression. 

    Maybe i'm missing something in undestanding how IIS7.0 really works. 

    Here are my handlers.

     Mappings

    Mappings

    .js shouldn't go under * rules? --> static file? 

    Thank you. 

  • Re: httpCompression and .js files (why .js is handled as a dynamic type from iis7?)

    Feb 10, 2007 10:57 AM|anilr|LINK

    .js does seem to be mapped to staticfile - maybe, static compression is just busted on your machine - can you enable "failed request tracing" (just do it for all 200 responses) and collect a freb log and attach it to the thread?
    Anil Ruia
    Software Design Engineer
    IIS Core Server
  • Re: httpCompression and .js files (why .js is handled as a dynamic type from iis7?)

    Feb 17, 2007 04:37 AM|Marzullo|LINK

    anilr

    .js does seem to be mapped to staticfile - maybe, static compression is just busted on your machine - can you enable "failed request tracing" (just do it for all 200 responses) and collect a freb log and attach it to the thread?

    Sorry for this late response, i'm delayed cause exams.

    IIS Diagnostics Output

    Url: http://www.mypublicip.com:80/js/Utils.js
    Site: 1
    App Pool: DefaultAppPool
    Process: 1416
    Authentication: anonymous
    User from token: NT AUTHORITY\IUSR
    Activity ID: {00000000-0000-0000-2B00-0080000000FE}
    Failure Reason: STATUS_CODE
    Final Status: 200
    Time Taken: 0 msec

    IIS Trace Detail Highlights

    No.
    EventName Details Time

    IIS Trace Detail

    No.
    EventName Details Time
    1. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> GENERAL_REQUEST_START SiteId="1", AppPoolId="DefaultAppPool", ConnId="34609760", RawConnId="34609768", RequestURL="http://www.mypublicip.com:80/js/Utils.js", RequestVerb="GET" 09:20:03.043
    2. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> FILTER_START FilterName="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll" 09:20:03.043
    3. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> FILTER_PREPROC_HEADERS_START
    09:20:03.043
    4. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> FILTER_SET_REQ_HEADER HeaderName="AspFilterSessionId:", HeaderValue="" 09:20:03.043
    5. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> FILTER_PREPROC_HEADERS_END
    09:20:03.043
    6. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> FILTER_END
    09:20:03.043
    7. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> URL_CACHE_ACCESS_START RequestURL="/js/Utils.js" 09:20:03.043
    8. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> URL_CACHE_ACCESS_END PhysicalPath="", URLInfoFromCache="false", URLInfoAddedToCache="true", ErrorCode="The operation completed successfully. (0x0)" 09:20:03.043
    9. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> GENERAL_GET_URL_METADATA PhysicalPath="F:\Backup\WebSites\LearningWeb\js\Utils.js", AccessPerms="513" 09:20:03.043
    10. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="IpRestrictionModule", Notification="BEGIN_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    11. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="IpRestrictionModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    12. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="RequestFilteringModule", Notification="BEGIN_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    13. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="RequestFilteringModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    14. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="FailedRequestsTracingModule", Notification="BEGIN_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    15. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="FailedRequestsTracingModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    16. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="RequestMonitorModule", Notification="BEGIN_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    17. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="RequestMonitorModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    18. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="ConfigurationValidationModule", Notification="BEGIN_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    19. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="ConfigurationValidationModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    20. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="CertificateMappingAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    21. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> AUTH_START AuthTypeSupported="MapCliCert" 09:20:03.043
    22. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> AUTH_END
    09:20:03.043
    23. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="CertificateMappingAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    24. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="IsapiFilterModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    25. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="IsapiFilterModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    26. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="BasicAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    27. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> AUTH_START AuthTypeSupported="Basic" 09:20:03.043
    28. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> AUTH_END
    09:20:03.043
    29. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="BasicAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    30. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="WindowsAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    31. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> AUTH_START AuthTypeSupported="NT" 09:20:03.043
    32. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> AUTH_END
    09:20:03.043
    33. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="WindowsAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    34. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="DigestAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    35. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> AUTH_START AuthTypeSupported="Digest" 09:20:03.043
    36. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> AUTH_END
    09:20:03.043
    37. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="DigestAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    38. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="IISCertificateMappingAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    39. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> AUTH_START AuthTypeSupported="MapCliCert" 09:20:03.043
    40. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> AUTH_END
    09:20:03.043
    41. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="IISCertificateMappingAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    42. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="AnonymousAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    43. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> AUTH_START AuthTypeSupported="Anonymous" 09:20:03.043
    44. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> AUTH_REQUEST_AUTH_TYPE RequestAuthType="Anonymous" 09:20:03.043
    45. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> AUTH_SUCCEEDED AuthType="Anonymous", NTLMUsed="false", RemoteUserName="", AuthUserName="", TokenImpersonationLevel="ImpersonationImpersonate" 09:20:03.043
    46. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> AUTH_END
    09:20:03.043
    47. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="AnonymousAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    48. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="IsapiFilterModule", Notification="MAP_PATH", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    49. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="IsapiFilterModule", Notification="MAP_PATH", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    50. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> FILE_CACHE_ACCESS_START FileName="F:\Backup\WebSites\LearningWeb\js\Utils.js", UserName="IUSR", DomainName="NT AUTHORITY" 09:20:03.043
    51. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> FILE_CACHE_ACCESS_END Successful="true", FileFromCache="false", FileAddedToCache="false", FileDirmoned="true", LastModCheckErrorIgnored="true", ErrorCode="The operation completed successfully. (0x0)" 09:20:03.043
    52. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="UrlAuthorizationModule", Notification="AUTHORIZE_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    53. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="UrlAuthorizationModule", Notification="AUTHORIZE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    54. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="IsapiFilterModule", Notification="AUTHORIZE_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    55. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="IsapiFilterModule", Notification="AUTHORIZE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    56. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="HttpCacheModule", Notification="RESOLVE_REQUEST_CACHE", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    57. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="HttpCacheModule", Notification="RESOLVE_REQUEST_CACHE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    58. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="StaticCompressionModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    59. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> STATIC_COMPRESSION_START
    09:20:03.043
    60. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> STATIC_COMPRESSION_NOT_SUCCESS Reason="UNKNOWN_ERROR" 09:20:03.043
    61. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="StaticCompressionModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    62. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="HttpRedirectionModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    63. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="HttpRedirectionModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    64. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="StaticFileModule", Notification="EXECUTE_REQUEST_HANDLER", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    65. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> GENERAL_STATIC_FILE_HANDLER FileName="F:\BACKUP\WEBSITES\LEARNINGWEB\JS\UTILS.JS" 09:20:03.043
    66. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="StaticFileModule", Notification="EXECUTE_REQUEST_HANDLER", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    67. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="StaticCompressionModule", Notification="RELEASE_REQUEST_STATE", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    68. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="StaticCompressionModule", Notification="RELEASE_REQUEST_STATE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    69. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="HttpCacheModule", Notification="UPDATE_REQUEST_CACHE", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    70. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="HttpCacheModule", Notification="UPDATE_REQUEST_CACHE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    71. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="CustomLoggingModule", Notification="LOG_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    72. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="CustomLoggingModule", Notification="LOG_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    73. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="RequestMonitorModule", Notification="END_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    74. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="RequestMonitorModule", Notification="END_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    75. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="DynamicCompressionModule", Notification="SEND_RESPONSE", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    76. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> DYNAMIC_COMPRESSION_START
    09:20:03.043
    77. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> DYNAMIC_COMPRESSION_SUCCESS
    09:20:03.043
    78. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> DYNAMIC_COMPRESSION_DO OriginalSize="420", CompressedSize="347" 09:20:03.043
    79. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> DYNAMIC_COMPRESSION_END
    09:20:03.043
    80. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="DynamicCompressionModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    81. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="HttpLoggingModule", Notification="SEND_RESPONSE", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    82. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="HttpLoggingModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    83. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="IsapiModule", Notification="SEND_RESPONSE", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    84. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="IsapiModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    85. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="DigestAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    86. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="DigestAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    87. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="WindowsAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    88. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="WindowsAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    89. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="BasicAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    90. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="BasicAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    91. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="IsapiFilterModule", Notification="SEND_RESPONSE", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    92. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="IsapiFilterModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    93. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="ProtocolSupportModule", Notification="SEND_RESPONSE", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    94. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="ProtocolSupportModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    95. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="CustomErrorModule", Notification="SEND_RESPONSE", fIsPostNotification="false", fIsCompletion="false" 09:20:03.043
    96. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="CustomErrorModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.043
    97. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> HTTPSYS_CACHEABLE HttpsysCacheable="false", Reason="NO_CACHE_INVALIDATOR" 09:20:03.043
    98. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> GENERAL_FLUSH_RESPONSE_START
    09:20:03.043
    99. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> GENERAL_FLUSH_RESPONSE_END BytesSent="656", ErrorCode="The operation completed successfully. (0x0)" 09:20:03.043
    100. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> GENERAL_REQUEST_END BytesSent="656", BytesReceived="400", HttpStatus="200", HttpSubStatus="0" 09:20:03.043

    And static compression fails for html too.

    Look below. 

     

    IIS Diagnostics Output

    Url: http://www.mypublicip.com:80/learnJS/learnJS.html
    Site: 1
    App Pool: DefaultAppPool
    Process: 1416
    Authentication: anonymous
    User from token: NT AUTHORITY\IUSR
    Activity ID: {00000000-0000-0000-2A00-0080000000FE}
    Failure Reason: STATUS_CODE
    Final Status: 200
    Time Taken: 47 msec

    IIS Trace Detail Highlights

    No.
    EventName Details Time

    IIS Trace Detail

    No.
    EventName Details Time
    1. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> GENERAL_REQUEST_START SiteId="1", AppPoolId="DefaultAppPool", ConnId="34703144", RawConnId="34703152", RequestURL="http://www.mypublicip.com:80/learnJS/learnJS.html", RequestVerb="GET" 09:20:02.982
    2. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> FILTER_START FilterName="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll" 09:20:02.982
    3. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> FILTER_PREPROC_HEADERS_START
    09:20:02.982
    4. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> FILTER_SET_REQ_HEADER HeaderName="AspFilterSessionId:", HeaderValue="" 09:20:02.982
    5. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> FILTER_PREPROC_HEADERS_END
    09:20:02.982
    6. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> FILTER_END
    09:20:02.982
    7. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> URL_CACHE_ACCESS_START RequestURL="/learnJS/learnJS.html" 09:20:02.982
    8. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> URL_CACHE_ACCESS_END PhysicalPath="", URLInfoFromCache="false", URLInfoAddedToCache="true", ErrorCode="The operation completed successfully. (0x0)" 09:20:02.982
    9. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> GENERAL_GET_URL_METADATA PhysicalPath="F:\Backup\WebSites\LearningWeb\learnJS\learnJS.html", AccessPerms="513" 09:20:02.982
    10. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="IpRestrictionModule", Notification="BEGIN_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:02.982
    11. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="IpRestrictionModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:02.982
    12. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="RequestFilteringModule", Notification="BEGIN_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:02.982
    13. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="RequestFilteringModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:02.982
    14. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="FailedRequestsTracingModule", Notification="BEGIN_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:02.982
    15. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="FailedRequestsTracingModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:02.982
    16. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="RequestMonitorModule", Notification="BEGIN_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:02.982
    17. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="RequestMonitorModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:02.982
    18. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="ConfigurationValidationModule", Notification="BEGIN_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:02.982
    19. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="ConfigurationValidationModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:02.982
    20. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="CertificateMappingAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:02.982
    21. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> AUTH_START AuthTypeSupported="MapCliCert" 09:20:02.982
    22. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> AUTH_END
    09:20:02.982
    23. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="CertificateMappingAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:02.982
    24. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="IsapiFilterModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:02.982
    25. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="IsapiFilterModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:02.982
    26. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="BasicAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:02.982
    27. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> AUTH_START AuthTypeSupported="Basic" 09:20:02.982
    28. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> AUTH_END
    09:20:02.982
    29. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="BasicAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:02.982
    30. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="WindowsAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:02.982
    31. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> AUTH_START AuthTypeSupported="NT" 09:20:02.982
    32. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> AUTH_END
    09:20:02.982
    33. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="WindowsAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:02.982
    34. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="DigestAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:02.982
    35. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> AUTH_START AuthTypeSupported="Digest" 09:20:02.982
    36. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> AUTH_END
    09:20:02.982
    37. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="DigestAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:02.982
    38. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="IISCertificateMappingAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:02.982
    39. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> AUTH_START AuthTypeSupported="MapCliCert" 09:20:02.982
    40. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> AUTH_END
    09:20:02.982
    41. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="IISCertificateMappingAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:02.982
    42. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="AnonymousAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:02.982
    43. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> AUTH_START AuthTypeSupported="Anonymous" 09:20:02.982
    44. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> AUTH_REQUEST_AUTH_TYPE RequestAuthType="Anonymous" 09:20:02.982
    45. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> AUTH_SUCCEEDED AuthType="Anonymous", NTLMUsed="false", RemoteUserName="", AuthUserName="", TokenImpersonationLevel="ImpersonationImpersonate" 09:20:02.982
    46. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> AUTH_END
    09:20:02.982
    47. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="AnonymousAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:02.982
    48. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="IsapiFilterModule", Notification="MAP_PATH", fIsPostNotification="false", fIsCompletion="false" 09:20:02.982
    49. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="IsapiFilterModule", Notification="MAP_PATH", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:02.982
    50. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> FILE_CACHE_ACCESS_START FileName="F:\Backup\WebSites\LearningWeb\learnJS\learnJS.html", UserName="IUSR", DomainName="NT AUTHORITY" 09:20:02.982
    51. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> FILE_CACHE_ACCESS_END Successful="true", FileFromCache="false", FileAddedToCache="false", FileDirmoned="true", LastModCheckErrorIgnored="true", ErrorCode="The operation completed successfully. (0x0)" 09:20:02.997
    52. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="UrlAuthorizationModule", Notification="AUTHORIZE_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:02.997
    53. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="UrlAuthorizationModule", Notification="AUTHORIZE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:02.997
    54. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="IsapiFilterModule", Notification="AUTHORIZE_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:02.997
    55. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="IsapiFilterModule", Notification="AUTHORIZE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:02.997
    56. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="HttpCacheModule", Notification="RESOLVE_REQUEST_CACHE", fIsPostNotification="false", fIsCompletion="false" 09:20:02.997
    57. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="HttpCacheModule", Notification="RESOLVE_REQUEST_CACHE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:02.997
    58. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="StaticCompressionModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotification="false", fIsCompletion="false" 09:20:02.997
    59. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> STATIC_COMPRESSION_START
    09:20:02.997
    60. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> STATIC_COMPRESSION_NOT_SUCCESS Reason="UNKNOWN_ERROR" 09:20:02.997
    61. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="StaticCompressionModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:02.997
    62. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="HttpRedirectionModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotification="false", fIsCompletion="false" 09:20:02.997
    63. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="HttpRedirectionModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:02.997
    64. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="StaticFileModule", Notification="EXECUTE_REQUEST_HANDLER", fIsPostNotification="false", fIsCompletion="false" 09:20:02.997
    65. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> GENERAL_STATIC_FILE_HANDLER FileName="F:\BACKUP\WEBSITES\LEARNINGWEB\LEARNJS\LEARNJS.HTML" 09:20:02.997
    66. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="StaticFileModule", Notification="EXECUTE_REQUEST_HANDLER", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:02.997
    67. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="StaticCompressionModule", Notification="RELEASE_REQUEST_STATE", fIsPostNotification="false", fIsCompletion="false" 09:20:02.997
    68. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="StaticCompressionModule", Notification="RELEASE_REQUEST_STATE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:02.997
    69. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="HttpCacheModule", Notification="UPDATE_REQUEST_CACHE", fIsPostNotification="false", fIsCompletion="false" 09:20:02.997
    70. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="HttpCacheModule", Notification="UPDATE_REQUEST_CACHE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:02.997
    71. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="CustomLoggingModule", Notification="LOG_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:02.997
    72. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="CustomLoggingModule", Notification="LOG_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:02.997
    73. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="RequestMonitorModule", Notification="END_REQUEST", fIsPostNotification="false", fIsCompletion="false" 09:20:02.997
    74. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="RequestMonitorModule", Notification="END_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:02.997
    75. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="DynamicCompressionModule", Notification="SEND_RESPONSE", fIsPostNotification="false", fIsCompletion="false" 09:20:02.997
    76. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> DYNAMIC_COMPRESSION_START
    09:20:02.997
    77. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> DYNAMIC_COMPRESSION_SUCCESS
    09:20:02.997
    78. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> DYNAMIC_COMPRESSION_DO OriginalSize="1160", CompressedSize="729" 09:20:03.013
    79. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> DYNAMIC_COMPRESSION_END
    09:20:03.013
    80. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="DynamicCompressionModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.013
    81. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="HttpLoggingModule", Notification="SEND_RESPONSE", fIsPostNotification="false", fIsCompletion="false" 09:20:03.013
    82. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="HttpLoggingModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.013
    83. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="IsapiModule", Notification="SEND_RESPONSE", fIsPostNotification="false", fIsCompletion="false" 09:20:03.013
    84. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="IsapiModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.013
    85. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="DigestAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotification="false", fIsCompletion="false" 09:20:03.013
    86. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="DigestAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.013
    87. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="WindowsAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotification="false", fIsCompletion="false" 09:20:03.013
    88. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="WindowsAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.013
    89. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="BasicAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotification="false", fIsCompletion="false" 09:20:03.013
    90. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="BasicAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.013
    91. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="IsapiFilterModule", Notification="SEND_RESPONSE", fIsPostNotification="false", fIsCompletion="false" 09:20:03.013
    92. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="IsapiFilterModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.013
    93. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="ProtocolSupportModule", Notification="SEND_RESPONSE", fIsPostNotification="false", fIsCompletion="false" 09:20:03.013
    94. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="ProtocolSupportModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.013
    95. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_START ModuleName="CustomErrorModule", Notification="SEND_RESPONSE", fIsPostNotification="false", fIsCompletion="false" 09:20:03.013
    96. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -1px; position: absolute; top: -1px;"> </div></div> NOTIFY_MODULE_END ModuleName="CustomErrorModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 09:20:03.013
    97. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> HTTPSYS_CACHEABLE HttpsysCacheable="false", Reason="NO_CACHE_INVALIDATOR" 09:20:03.013
    98. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> GENERAL_FLUSH_RESPONSE_START
    09:20:03.013
    99. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> GENERAL_FLUSH_RESPONSE_END BytesSent="1023", ErrorCode="The operation completed successfully. (0x0)" 09:20:03.029
    100. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> GENERAL_REQUEST_END BytesSent="1023", BytesReceived="448", HttpStatus="200", HttpSubStatus="0" 09:20:03.029

     

    Dynamic compression is successfull, static one fails. why is my static compression busted?


     

  • Re: httpCompression and .js files (why .js is handled as a dynamic type from iis7?)

    Feb 17, 2007 10:02 AM|anilr|LINK

    The relevant events are

    59. <div style="POSITION: relative">n <div style="LEFT: -2px; POSITION: absolute; TOP: -2px">n </div> <div style="LEFT: -3px; POSITION: absolute; TOP: -3px">i </div></div> STATIC_COMPRESSION_START
    09:20:03.043
    60. <div style="POSITION: relative">n <div style="LEFT: -2px; POSITION: absolute; TOP: -2px">n </div> <div style="LEFT: -3px; POSITION: absolute; TOP: -3px">i </div></div> STATIC_COMPRESSION_NOT_SUCCESS Reason="UNKNOWN_ERROR" 09:20:03.043

     

    Can you dump your httpCompression and urlCompression sections?

    \Windows\system32\inetsrv\appcmd.exe list config -section:httpCompression

    \Windows\system32\inetsrv\appcmd.exe list config -section:urlCompression

    Also, can you check the ACL for whatever directory the compression cache points to (according to httpCompression section) - there would also be an event log entry regarding that.

    Anil Ruia
    Software Design Engineer
    IIS Core Server
  • Re: httpCompression and .js files (why .js is handled as a dynamic type from iis7?)

    Feb 18, 2007 02:21 AM|Marzullo|LINK

    Done. 

           <httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files">
                <scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" />
                <staticTypes>
                    <add mimeType="text/*" enabled="true" />
                    <add mimeType="message/*" enabled="true" />
                    <add mimeType="application/x-javascript" enabled="true" />
                    <add mimeType="*/*" enabled="false" />
                </staticTypes>
                <dynamicTypes>
                    <add mimeType="text/*" enabled="true" />
                    <add mimeType="message/*" enabled="true" />
                    <add mimeType="application/x-javascript" enabled="true" />
                    <add mimeType="*/*" enabled="false" />
                </dynamicTypes>
            </httpCompression>

            <urlCompression doStaticCompression="true" doDynamicCompression="true" />

     I just noticed that "C:\inetpub\temp\IIS Temporary Compressed Files" doesn't exist. -_-

    I tried to manually create it, but nothing, the same as before, static compression fails. 

    My %SystemDrive% echo answers C:\

     

  • Re: httpCompression and .js files (why .js is handled as a dynamic type from iis7?)

    Feb 18, 2007 02:49 AM|Marzullo|LINK

    Marzullo

    Done. 

           <httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files">
                <scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" />
                <staticTypes>
                    <add mimeType="text/*" enabled="true" />
                    <add mimeType="message/*" enabled="true" />
                    <add mimeType="application/x-javascript" enabled="true" />
                </staticTypes>
                <dynamicTypes>
                    <add mimeType="text/*" enabled="true" />
                    <add mimeType="message/*" enabled="true" />
                    <add mimeType="application/x-javascript" enabled="true" />
                    <add mimeType="*/*" enabled="false" />
                </dynamicTypes>
            </httpCompression>

            <urlCompression doStaticCompression="true" doDynamicCompression="true" />

     I tried to erase the 4th child under staticTypes becouse it seems a conflicting rule.

    Now html compression works:

    59. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> STATIC_COMPRESSION_START
    07:41:53.625
    60. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> STATIC_COMPRESSION_SUCCESS
    07:41:53.625

    but .js compression fails

    59. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> STATIC_COMPRESSION_START
    07:41:53.652
    60. <div style="position: relative;">n <div style="left: -2px; position: absolute; top: -2px;">n </div> <div style="left: -3px; position: absolute; top: -3px;">i </div></div> STATIC_COMPRESSION_NOT_SUCCESS Reason="COMPRESS_FILE_NOT_FOUND" 07:41:53.652

    Infact, the html file compressed is inside C:\inetpub\temp\IIS Temporary Compressed Files\DefaultAppPool\$^_gzip_F^\BACKUP\WEBSITES\LEARNINGWEB\LEARNJS directory.

    I cannot find Utils.js and Debug.js compressed ones.

    For *.js files, only dynamic compression actually works after the static one fails.

    I'm getting confused. :-\

     

  • Re: httpCompression and .js files (why .js is handled as a dynamic type from iis7?)

    Feb 18, 2007 03:34 AM|Marzullo|LINK

    Finally i managed to make it works with these settings:

     

            <httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files">
                <scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" />
                <staticTypes>
                    <add mimeType="text/*" enabled="true" />
                    <add mimeType="message/*" enabled="true" />
                    <add mimeType="application/x-javascript" enabled="true" />
                </staticTypes>
                <dynamicTypes>
                    <add mimeType="text/*" enabled="true" />
                </dynamicTypes>
            </httpCompression>

     Maybe conflicting rules, maybe i wasn't restarting correctly IIS, anyway i'm not assuming IIS is behaving in a random way, surely there are specific reasons to what is happening.

    In all my tries, the browser cache was disabled in order to avoid 304 not modified header only responses.

    These are all gets/responses dialogue:

     http://www.mypublicip.com/learnJS/learnJS.html

    GET /learnJS/learnJS.html HTTP/1.1
    Host: www.mypublicip.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; it; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
    Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
    Accept-Language: it-it,it;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive

    HTTP/1.x 200 OK
    Content-Type: text/html
    Content-Encoding: gzip
    Last-Modified: Sat, 17 Feb 2007 19:46:18 GMT
    Accept-Ranges: bytes
    Etag: "0217f4acc52c71:0"
    Vary: Accept-Encoding
    Server: Microsoft-IIS/7.0
    X-Powered-By: ASP.NET
    Date: Sun, 18 Feb 2007 08:34:58 GMT
    Content-Length: 750

    http://www.mypublicip.com/js/Utils.js

    GET /js/Utils.js HTTP/1.1
    Host: www.mypublicip.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; it; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
    Accept: */*
    Accept-Language: it-it,it;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    Referer: http://www.mypublicip.com/learnJS/learnJS.html

    HTTP/1.x 200 OK
    Content-Type: application/x-javascript
    Content-Encoding: gzip
    Last-Modified: Fri, 16 Feb 2007 17:57:24 GMT
    Accept-Ranges: bytes
    Etag: "01a84e9f351c71:0"
    Vary: Accept-Encoding
    Server: Microsoft-IIS/7.0
    X-Powered-By: ASP.NET
    Date: Sun, 18 Feb 2007 08:34:58 GMT
    Content-Length: 245
    ----------------------------------------------------------
    http://www.mypublicip.com/js/Debug.js

    GET /js/Debug.js HTTP/1.1
    Host: www.mypublicip.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; it; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
    Accept: */*
    Accept-Language: it-it,it;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    Referer: http://www.mypublicip.com/learnJS/learnJS.html

    HTTP/1.x 200 OK
    Content-Type: application/x-javascript
    Content-Encoding: gzip
    Last-Modified: Sat, 17 Feb 2007 17:43:19 GMT
    Accept-Ranges: bytes
    Etag: "8015451cbb52c71:0"
    Vary: Accept-Encoding
    Server: Microsoft-IIS/7.0
    X-Powered-By: ASP.NET
    Date: Sun, 18 Feb 2007 08:34:58 GMT
    Content-Length: 725

    Now static types are gzipped with static compressor.

    .aspx pages are gzipped too by dynamic compressor thanks to the <add mimeType="text/*" enabled="true" /> line.

    Maybe i was missing how those "add rules" really behave.

  • Re: httpCompression and .js files (why .js is handled as a dynamic type from iis7?)

    Feb 18, 2007 04:31 AM|Marzullo|LINK



     

  • Re: httpCompression and .js files (why .js is handled as a dynamic type from iis7?)

    Feb 18, 2007 08:33 AM|anilr|LINK

    That is just because you have to request the file twice within 5 seconds to have it be compressed - so that we don't create compressed copies for infrequently requested files - the 2 times and 5 secs are configurable through properties in the serverRuntime section - I forget the names, you can look it up in iis_schema.xml.
    Anil Ruia
    Software Design Engineer
    IIS Core Server
  • Re: httpCompression and .js files (why .js is handled as a dynamic type from iis7?)

    Feb 19, 2007 02:33 AM|Marzullo|LINK

    I noticed it.

    Ok thank you.