homepage Welcome to WebmasterWorld Guest from 54.197.65.82
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

    
Dreamweaver Whitespace Strip plugin
Looking for a plugin for Dreamweaver to strip whitespace and vice versa
zuko105

10+ Year Member



 
Msg#: 3654701 posted 6:34 pm on May 20, 2008 (gmt 0)

Looking for a plugin for Dreamweaver to strip whitespace out BETWEEN TAGS ONLY once you are finished with the html code, and then return it back to 'coder' friendly format when you are ready to edit that file again.

Can anyone recommend said plugin, executable or technique?

I've reached a point in my career where a single html doc on our server(s) get downloaded over a million times per day and I would like to see size differences of the file once I've stripped all of the code spaces, tabs, line returns, etc..

Any find/replace techniques that I've found removes spaces in the content itself.

Thanks so much in advance.

Zuko

 

ColinG

5+ Year Member



 
Msg#: 3654701 posted 1:10 am on May 21, 2008 (gmt 0)

gzipping is a much more effective method and easier - yields a much smaller size than stipping the white space and all.

When I tried a white space stripped file and compared the gzip of the original file to gzipped white space size, they were almost the same.

If the pages are fairly static - meaning changed every hour or so, use a pregzipped version that is updated when needed.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved