-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Christian Cantrell blogged about this a while back also, see http://weblogs.macromedia.com/cantrell/archives/2005/01/eliminate_coldf.cfm
Lyons, Larry wrote: > One UDF I've found very helpful in removing whitespace is HtmlCompressFormat > from the cflib project: > > From the website: > -- > This function is useful to reduce download time of your entire webpage. > Client's will load pages noticably faster. Also very useful to compress a > page before caching it for storage. > > Code is very useful in the fusebox 3 methodology, wrap this around your > #fusebox.layout# variable to compress the html output. > > Code works on 3 levels of compression, and can easily be customized for more > or different ways. > > Level 1: Replaces excessive spaces with no side effects. > > Level 2: (default) Removes more blank space but keeps html tags from > wrapping into each other, so the code is still readable (maybe even more so) > > Level 3: Replaces all comments and any spaces possible, the side effect is > space between html tags is removed, so alignment changes are possible. > -- > http://www.cflib.org/udf.cfm?ID=812 > > It can really crunch down pages to much more manageable sizes. > > Regards, > larry > - -- Wayne Graham Earl Gregg Swem Library College of William and Mary PO Box 8794 Williamsburg, VA 23185 757.221.3112 http://swem.wm.edu/blogs/waynegraham -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCztkuPfSkOZBClrURAmS3AJ9iQocSp5uYywTEAJo+7JhQxKQR0ACdEyEl 81jwrpRv4dvcbllbXtrdGmI= =Cher -----END PGP SIGNATURE----- ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
