[thelist] PAGE OPTIMIZATION: source readability v. download weight (not javascript function discussing :)
Martin Tsachev
shaggy at members.evolt.org
Sun Jun 16 20:58:24 CDT 2002
Hello Peter,
Thursday, June 13, 2002, 12:08:44 AM, you wrote:
PT> A fun easy optimization that ppl seem to forget that
PT> shaves a little weight off is \r\n -v \n . Want to
PT> easily get rid of some bytes and still be readable,
PT> open up your favorite win32 html doc in vim and tell
PT> it to save it as a *nix filetype (not windows)..then
PT> remove the redundent \r's ... this will save you a
PT> byte per line and still look readable.
PT> -Peter
That one is very good but you don't really need to do it by hand, some
editors - SciTE, EditPlus (Win32 only) can do all the work themselves.
If you're using *nin/Mac by default you already have saved that bytes.
--
Martin Tsachev
Web developer
http://members.evolt.org/shaggy/
More information about the thelist
mailing list