Walter.Web.FireWall
Compression Property (IPageRequest)
Example 
Walter.Web.FireWall Assembly > Walter.Web.FireWall Namespace > IPageRequest Interface : Compression Property
Compression contains the value that the response was compressed by when using the MinifyAtribute
Syntax
double Compression {get;}
Remarks

Minification will improve your page speed over the network and in the browser as there is less data to send and less data read.

The minification has the nice effect that the page will be harder to parse for bots and humans.

This value is only set on HTTPGet requests

Example
Minify the rendered Razor view. You can access the compressed in the post processing as well as in the page reporting.
[Minify]
public async Task<IActionResult> Index()
{
  var model= await Factory.NavigationModel().ConfigureAwayt(false);
  return View(model);
}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IPageRequest Interface
IPageRequest Members