|
| |
|
|
FPuser98
Posts: 12 Joined: 6/16/2006 Status: offline
|
Any problems with Optimize HTML feature? - 7/23/2009 12:38:47
I was told years ago to avoid using the Optimize HTML feature in FP2003 because it can cause "problems." However, after years of working with this one site, there is a lot of redundant code that may be slowing down page loading, for all I know.. For example the HTML code for bold image looks like this: <b>bold</b> <b>image</b> Also, every paragraph begins and ends with font name and size coding, also redundant. Would it be safe to use Optimize HTML on the remote site before publishing it to the server? What types of problems does it cause with your sites, if any?
|
|
|
|
treetopsranch
Posts: 1648 From: Cottage Grove, OR, USA Status: offline
|
RE: Any problems with Optimize HTML feature? - 7/23/2009 19:52:09
Some have said it is hard to edit a page in code view after it has been optimized.
_____________________________
Don from TreeTops Ranch, Oregon "I've got a taste for quality and luxury"
|
|
|
|
womble
Posts: 6260 Joined: 3/14/2005 From: Living on the edge Status: offline
|
RE: Any problems with Optimize HTML feature? - 7/24/2009 18:30:08
quote:
ORIGINAL: FPuser98 For example the HTML code for bold image looks like this: <b>bold</b> <b>image</b> Also, every paragraph begins and ends with font name and size coding, also redundant. I would think it would depend on how your site/page is set up. If the styling information's elsewhere (i.e. in an external stylesheet or an embedded stylesheet) then you'd be safe to take out the styling information, but if the page relies on inline styling and there aren't any style rules, classes and ids, that tell the browser how to render the page, you're going to be in trouble. Having said that, it's ages since I've used FP, and I don't think I really used the optimisation feature (at least I can't remember using it ), so I'm not sure exactly what it takes out, though I wouldn't think it would take anything vital out. If you're tempted to start taking "redundant" stuff out manually though, I'd be very careful and make sure you've got a backup of the site before doing anything. As Don said though, I've heard it said it can be difficult to read an optimised page in code view. As long as you've got an original copy though it might be worth trying it and seeing what happens and if optimising it makes any difference. If optimising the HTML shaves off a few Kb, it may make a difference to your page load times (what's your page load time though for the pages? is it very high?) though more likely optimising the images on your page would make a bigger difference to times, particularly if a page is image-heavy.
_____________________________
~~ "A cruel god ain't no god at all" ~~ ~~ Erase hate. Practice love. ~~
|
|
|
|
FPuser98
Posts: 12 Joined: 6/16/2006 Status: offline
|
RE: Any problems with Optimize HTML feature? - 8/6/2009 8:45:17
quote:
ORIGINAL: womble I would think it would depend on how your site/page is set up. If the styling information's elsewhere (i.e. in an external stylesheet or an embedded stylesheet) then you'd be safe to take out the styling information, but if the page relies on inline styling and there aren't any style rules, classes and ids, that tell the browser how to render the page, you're going to be in trouble. Thanks. I don't have an external stylesheet, and not knowing a lot about HTML, I thought I could put the style and font code at the top of each page. I have some very long pages, with lots of text and images. Each short paragraph on the page repeats the same font and size information, and ends with a [/font]. quote:
If optimising the HTML shaves off a few Kb, it may make a difference to your page load times (what's your page load time though for the pages? is it very high?) though more likely optimising the images on your page would make a bigger difference to times, particularly if a page is image-heavy. How would I optimize an image? I currently download the image and then re-size it in Front Page. Would it be better to buy another program to re-size photos and images? What programs are good?
|
|
|
|
treetopsranch
Posts: 1648 From: Cottage Grove, OR, USA Status: offline
|
RE: Any problems with Optimize HTML feature? - 8/6/2009 10:40:49
quote:
How would I optimize an image? You use a photo program to optimize photos. Infranview, Gimp, Paint.net. I still use Paint Shop Pro 8. You can resize in those programs also. If you resize in Frontpage you must click on the 'resample' button on the pictures toolbar. Otherwise the original photo will be uploaded. Remember, resize and optimize are two different procedures. You need to do both for web photos that are too large.
_____________________________
Don from TreeTops Ranch, Oregon "I've got a taste for quality and luxury"
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|