The Artima Developer Community
Sponsored Link

.NET Buzz Forum
HttpFilter For Removing Whitespace

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Peter G Provost

Posts: 849
Nickname: pprovost
Registered: Aug, 2003

Peter G Provost is a Solution Architect for Interlink Group in Denver, CO.
HttpFilter For Removing Whitespace Posted: Sep 8, 2003 9:07 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Peter G Provost.
Original Post: HttpFilter For Removing Whitespace
Feed Title: Peter Provost's Geek Noise
Feed URL: /error.aspx?aspxerrorpath=/Rss.aspx
Feed Description: Technology news, development articles, Microsoft .NET, and other stuff...
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Peter G Provost
Latest Posts From Peter Provost's Geek Noise

Advertisement

Donny Mack posted an interesting idea. Add an HTTP Filter to strip out tabs and CRs. I wonder how much it will shrink the average page? I just might try it on a few of my sites.

One thing to keep in mind though, his algorithm is doing a naive replacement of whitespace and carriage returns. The problem is if you have Javascript that isn't semicolon delimited. Since it isn't required, many developers don't bother. So check your client-side script before using this.

Read: HttpFilter For Removing Whitespace

Topic: I Was OOF. Now I'm NOT. Previous Topic   Next Topic Topic: Call me now, mon!

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use