FP 2003 Optimize HTML

J

Joe Rohn

Hi Folks,

General question on FP2003 and removing all white space in HTML. Has anyone
done this? I have tried a couple tests and it seems like it really does
shave at least a little load time off of pages..I am a little concerned
about doing it live yet though..any thoughts?

Thanks!
--
Joe
Remove "AA" for email

FrontPage Users Forums at:
http://www.timeforweb.com/frontpage/
 
D

David Berry

Hi Joe. I've done it on test sites but not on a live site yet. I would
recommend publishing your site down locally, then optimizing it and testing
it before you upload it.
 
J

Joe Rohn

Hi Dave,

Thanks! Actually that is what I have done so far and locally all appears
well. I guess I am still just a little nervous about pushing the button for
real! <g>

--
Joe
Remove "AA" for email

FrontPage Users Forums at:
http://www.timeforweb.com/frontpage/
 
J

Jim Buyens

-----Original Message-----
Hi Folks,
Howdy.

General question on FP2003 and removing all white space
in HTML. Has anyone done this? I have tried a couple
tests and it seems like it really does shave at least a
little load time off of pages..I am a little concerned
about doing it live yet though..any thoughts?

The new FrontPage features that optimize HTML, such as by
removing white space, seem to work OK. However, no one
was ever sorry they ran a test. Your HTML just might
contain some tricky series of characters that causes a
problem.

Be especially careful with the options that remove
FrontPage component comments and other information that
FrontPage uses. If you activate those options when
publishing, and then you publish the Web back to your
development site, your site will lose functionality.

BTW, a savings of 1,000 characters might seem like a big
deal, but over a 50 kbps modem connection it saves at
most 1/5 second. And if fact it probably saves far less
because modems are very good at compressing consecutive
spaces.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
J

Joe Rohn

BTW, a savings of 1,000 characters might seem like a big
deal, but over a 50 kbps modem connection it saves at
most 1/5 second. And if fact it probably saves far less
because modems are very good at compressing consecutive
spaces.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------


Thanks Jim...can I assume by your last statement that you don't feel it is
worth it? You know what they say about "assume" <g>

--
Joe
Remove "AA" for email

FrontPage Users Forums at:
http://www.timeforweb.com/frontpage/
 
S

Stefan B Rusynko

IMHO
The savings in bytes it gives you is not worth the problems of losing "visibility" of the code structure in Code View, but the
feature is there for "purists" who want to tweak their pages
Plus selecting certain options will strip all FP design mode capability from the site, and if you ever sync local/remote, you may
end up w/ a site uneditable in FP



| Hi Dave,
|
| Thanks! Actually that is what I have done so far and locally all appears
| well. I guess I am still just a little nervous about pushing the button for
| real! <g>
|
| --
| Joe
| Remove "AA" for email
|
| FrontPage Users Forums at:
| http://www.timeforweb.com/frontpage/
| | > Hi Joe. I've done it on test sites but not on a live site yet. I would
| > recommend publishing your site down locally, then optimizing it and
| testing
| > it before you upload it.
| >
| > --
| > David Berry - MCP
| > Microsoft MVP - FrontPage
| > FrontPage Support: http://www.net-sites.com/sitebuilder/
| > -----------------------------------
| > To assist you in getting the best answers for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > -----------------------------------
| > | > > Hi Folks,
| > >
| > > General question on FP2003 and removing all white space in HTML. Has
| > anyone
| > > done this? I have tried a couple tests and it seems like it really does
| > > shave at least a little load time off of pages..I am a little concerned
| > > about doing it live yet though..any thoughts?
| > >
| > > Thanks!
| > > --
| > > Joe
| > > Remove "AA" for email
| > >
| > > FrontPage Users Forums at:
| > > http://www.timeforweb.com/frontpage/
| > >
| > >
| >
| >
|
|
 
M

MD WebsUnlimited.com

This is excellent advise. Using the optimize can effectively render working
components inoperable and remove spaces does very little to save time.
You're better of optimizing image files.
 
D

David Berry

I agree. It sounds like a nice feature but I'm leery about what it might do
to the way I have my code organized. The other problem is if you choose to
remove all whitespace then when you go back to look at your code to make a
change, instead of it all being indented and easy to read, ex:

<table>
<tr>
<td></td>
</tr>
</table>

now it's all on one line and you have to scroll over to the right to find
what you're looking for. Like Jim, I don't think the space gain is that
much of a big deal. Like Mike said, optimizing your images will gain you
more.
 
T

Tom Pepper Willett

Dave: What's interesting, is that I do NOT use the feature. However, when
I installed FP2003 on my new machine and published my webs from 2000 off the
old machine, all the code was in a single line in FP2003. Go figure.
--
-----
Tom Pepper Willett
Microsoft MVP - FrontPage
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
http://msdn.microsoft.com/office/understanding/frontpage/
----
| I agree. It sounds like a nice feature but I'm leery about what it might
do
| to the way I have my code organized. The other problem is if you choose
to
| remove all whitespace then when you go back to look at your code to make a
| change, instead of it all being indented and easy to read, ex:
|
| <table>
| <tr>
| <td></td>
| </tr>
| </table>
|
| now it's all on one line and you have to scroll over to the right to find
| what you're looking for. Like Jim, I don't think the space gain is that
| much of a big deal. Like Mike said, optimizing your images will gain you
| more.
|
| --
| David Berry - MCP
| Microsoft MVP - FrontPage
| FrontPage Support: http://www.net-sites.com/sitebuilder/
| -----------------------------------
| To assist you in getting the best answers for FrontPage support see:
| http://www.net-sites.com/sitebuilder/newsgroups.asp
| -----------------------------------
| | > This is excellent advise. Using the optimize can effectively render
| working
| > components inoperable and remove spaces does very little to save time.
| > You're better of optimizing image files.
| > --
| > Mike -- FrontPage MVP '97-'02
| > http://www.websunlimited.com
| > FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
|
--------------------------------------------------------------------------
| --
| > --------------------
| > If you think I'm doing a good job, let MS know at (e-mail address removed)
| >
| > | > > >-----Original Message-----
| > > >Hi Folks,
| > >
| > > Howdy.
| > >
| > > >General question on FP2003 and removing all white space
| > > >in HTML. Has anyone done this? I have tried a couple
| > > >tests and it seems like it really does shave at least a
| > > >little load time off of pages..I am a little concerned
| > > >about doing it live yet though..any thoughts?
| > >
| > > The new FrontPage features that optimize HTML, such as by
| > > removing white space, seem to work OK. However, no one
| > > was ever sorry they ran a test. Your HTML just might
| > > contain some tricky series of characters that causes a
| > > problem.
| > >
| > > Be especially careful with the options that remove
| > > FrontPage component comments and other information that
| > > FrontPage uses. If you activate those options when
| > > publishing, and then you publish the Web back to your
| > > development site, your site will lose functionality.
| > >
| > > BTW, a savings of 1,000 characters might seem like a big
| > > deal, but over a 50 kbps modem connection it saves at
| > > most 1/5 second. And if fact it probably saves far less
| > > because modems are very good at compressing consecutive
| > > spaces.
| > >
| > > Jim Buyens
| > > Microsoft FrontPage MVP
| > > http://www.interlacken.com
| > > Author of:
| > > *----------------------------------------------------
| > > |\---------------------------------------------------
| > > || Microsoft Office FrontPage 2003 Inside Out
| > > ||---------------------------------------------------
| > > || Web Database Development Step by Step .NET Edition
| > > || Microsoft FrontPage Version 2002 Inside Out
| > > || Faster Smarter Beginning Programming
| > > || (All from Microsoft Press)
| > > |/---------------------------------------------------
| > > *----------------------------------------------------
| > >
| > >
| >
| >
|
|
 
D

David Berry

Hi Tom. Yes, that's why I haven't used it on any of my sites that use ASP
or JavaScript because I need to see everything all neatly indented so I can
make changes easier later.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top