Enables the sending of the CacheControl: no-transform directive.
[Visual Basic] Public Sub SetNoTransforms() [C#] public void SetNoTransforms(); [C++] public: void SetNoTransforms(); [JScript] public function SetNoTransforms();
As with other restrictions on caching, once this [RB18] is set, it cannot be disabled through this interface.
This directive prevents downstream proxy servers from doing any content transformations on any header values specified by the Content-Encoding:, Content-Range:, or Content-Type: headers (this includes the entity body).[RB19] This prevents proxies from doing transforms that convert GIF [RB20] images to PNG, for example.
HttpCachePolicy Class | HttpCachePolicy Members | System.Web Namespace