Welcome to WebmasterWorld Guest from 54.163.142.67

Forum Moderators: open

Message Too Old, No Replies

Dreamweaver Whitespace Strip plugin

Looking for a plugin for Dreamweaver to strip whitespace and vice versa

     
6:34 pm on May 20, 2008 (gmt 0)

Full Member

10+ Year Member

joined:June 24, 2002
posts:304
votes: 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

1:10 am on May 21, 2008 (gmt 0)

Junior Member

5+ Year Member

joined:Dec 16, 2007
posts:48
votes: 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.