Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Remove spaces and lines from source code

Reply
Thread Tools

Remove spaces and lines from source code

 
 
Arjen
Guest
Posts: n/a
 
      10-19-2004
Hello,

In code view I use a tab as mark-up character.
When I run my web application I can see the tabs with the source viewer in
my browser.

Is there a way to remove the tabs, extra spaces and lines when running the
web application?
I want to remove them for performance reasons.

(I don't want to remove it inside my code)
Are there (free) http modules for this?

Thanks!


 
Reply With Quote
 
 
 
 
Kevin Spencer
Guest
Posts: n/a
 
      10-19-2004
In the movie "Dr. Strangelove" (directed by Stanley Kubrick) there is a
hilarious scene in which, during a crisis that threatens to decimate the
entire planet by nuclear bombs, a couple of people are running through an
Air Force base, trying to make a phone call that could save the world.
However, all they can find is a pay phone. One of them starts trashing a
Coke machine to get change for the phone. The other panics, reminding the
first that it is illegal to tamper with vending machines. I believe that
worrying about a few extra tabs and spaces is kind of like worrying about
the illegality of robbing a vending machine during a nuclear threat. You
might rather be worrying about something that really makes a difference
instead, like server-side performance, or, on the client, the number and
size of images in a page. A tab or space character is exactly 1 byte in
size.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living

"Arjen" <(E-Mail Removed)> wrote in message
news:cl368j$loo$(E-Mail Removed)1.ov.home.nl...
> Hello,
>
> In code view I use a tab as mark-up character.
> When I run my web application I can see the tabs with the source viewer in
> my browser.
>
> Is there a way to remove the tabs, extra spaces and lines when running the
> web application?
> I want to remove them for performance reasons.
>
> (I don't want to remove it inside my code)
> Are there (free) http modules for this?
>
> Thanks!
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XSD to allow A-Z 0-9 and spaces, but not leading/trailing spaces johkar XML 2 12-10-2009 09:24 AM
[CSS] how can I show spaces as spaces? Tomasz Chmielewski HTML 21 09-10-2009 06:43 PM
how can I show spaces as spaces, part 2 Tomasz Chmielewski HTML 14 09-10-2009 03:54 PM
Re: How to trim a String trailing spaces, but not leading spaces? Roedy Green Java 3 09-14-2008 02:10 AM
Re: How to trim a String trailing spaces, but not leading spaces? John B. Matthews Java 4 09-12-2008 05:28 AM



Advertisments