public class CompressContentAttribute : ActionFilterAttribute, IActionFilter
Member | Description | |
---|---|---|
Constructor | ||
GZipEncodePage | Sets up the current page or handler to use GZip through a Response.Filter IMPORTANT: You have to call this method before any output is generated! public static void GZipEncodePage();
|
|
IsGZipSupported | Determines if GZip is supported public static bool IsGZipSupported();
|
|
OnActionExecuting | Override to compress the content that is generated by an action method. public virtual void OnActionExecuting(ActionExecutingContext filterContext);
|