为什么COM的ScriptResource.axd pressed,即使IIS COM pression被禁用?

编程入门 行业动态 更新时间:2024-10-25 17:17:14
本文介绍了为什么COM的ScriptResource.axd pressed,即使IIS COM pression被禁用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我运行在IIS 6.0上的ASP.NET应用程序。通常我都COM pression开启动态和静态文件。不过,我转身COM pression暂时关闭,但的ScriptResource.axd仍发送COM pressed。这并不觉得自己是一个错误配置,为WebResource.axd的是不是COM pressed。

I run an ASP.NET application on IIS 6.0. Usually I have compression turned on for both dynamic and static files. However, I've turned compression off temporarily, but "ScriptResource.axd" is still sent compressed. This does not feel like a misconfiguration, as "WebResource.axd" is not compressed.

是什么ScriptResource和WebResource之间的差异,例如,前者是静止的COM pressed?它是如何让COM pressed?

What is the difference between ScriptResource and WebResource, such that the former is still compressed? How is it getting compressed?

感谢。

推荐答案

网络资源被的 AssemblyResourceLoader 类,其目的是获取装配资源并将它们用于在Web浏览器。网络资源的不的COM $ P $默认pssed。

Web Resources are handled by the AssemblyResourceLoader class, which is designed to retrieve assembly resources and serve them to the Web browser. Web Resources are not compressed by default.

脚本资源由 ScriptResourceHandler 类,这需要那些通过ScriptManager类引用的嵌入式脚本文件的所有请求照顾。脚本资源的是的自动COM pressed用gzip默认情况下,HTTP传递。

Script Resources are handled by the ScriptResourceHandler class, which takes care of all requests for embedded script files that are referenced through the ScriptManager class. Script Resources are automatically compressed with GZIP by default for HTTP delivery.

更多推荐

为什么COM的ScriptResource.axd pressed,即使IIS COM pression被禁用?

本文发布于:2023-11-25 01:18:14,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1627728.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:axd   ScriptResource   pressed   pression   IIS

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!