code to phantom spacing
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 36612
interpreted = N
texte = Hi folks,The issue I would appreciate some help with is spacing being added to the of a document, containing WebDNA, after being parsed.I have noticed this happening before in others code as well, but didn'tthink much of it till now. I have a template that has a good deal of WebDNAcode (The head tags contain about 1300 lines). It sits at about 78K, butafter parsing, it is received by the browser at between 330K and 375K (itactually fluctuates). At this size, some browsers start burping.Viewing source shows the ending pushed way (and I do mean *waaaay*)down the page, by phantom spaces.I started by removing the majority of the code and returning block by blockto try to determine what was adding all that space, but soon found that eachblock added a little space to the server product. It appears to be anaggregate rather than one rotten block, and further appears to be comingfrom spacing and tabbing between tags and blocks (at least in part, it couldbe something else as well).We have converted all space bar spacing to tabs. This saved about 3K (hardlymakes a dent). Interestingly enough, the phantom data in the viewsource code are all spaces (not tabs).I tried removing all spaces/tabs from some of the code, and it may have madesome difference, but there's so much left with spaces, it's hard to tell.Does anyone know what actually is taking place?Is this just WebCat overhead?Any techniques to beat it?Thanks for you help!Jon__________________________Jon RobinsonChakra5 studioshttp://www.chakra5.netjon@chakra5.net(206) 781-0140 (o)(206) 228-0451 (c)-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Hi folks,The issue I would appreciate some help with is spacing being added to the of a document, containing WebDNA, after being parsed.I have noticed this happening before in others code as well, but didn'tthink much of it till now. I have a template that has a good deal of WebDNAcode (The head tags contain about 1300 lines). It sits at about 78K, butafter parsing, it is received by the browser at between 330K and 375K (itactually fluctuates). At this size, some browsers start burping.Viewing source shows the ending pushed way (and I do mean *waaaay*)down the page, by phantom spaces.I started by removing the majority of the code and returning block by blockto try to determine what was adding all that space, but soon found that eachblock added a little space to the server product. It appears to be anaggregate rather than one rotten block, and further appears to be comingfrom spacing and tabbing between tags and blocks (at least in part, it couldbe something else as well).We have converted all space bar spacing to tabs. This saved about 3K (hardlymakes a dent). Interestingly enough, the phantom data in the viewsource code are all spaces (not tabs).I tried removing all spaces/tabs from some of the code, and it may have madesome difference, but there's so much left with spaces, it's hard to tell.Does anyone know what actually is taking place?Is this just WebCat overhead?Any techniques to beat it?Thanks for you help!Jon__________________________Jon RobinsonChakra5 studioshttp://www.chakra5.netjon@chakra5.net(206) 781-0140 (o)(206) 228-0451 (c)-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Jon Robinson
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Upload to LINUX always breaks my sites - why? (2004)
[off] Promotions/ECRC (1997)
[WriteFile] problems (1997)
Cobalt RaQ Installation (2003)
All questions are welcome on this list (1997)
READFILE command? (1998)
How far do [showif]s go? (1997)
re-sorting founditems (2002)
Has anything been fixed in 4.0.1 since the beta? (2000)
[TaxableTotal] - not working with AOL and IE (1997)
Multiple Ad databases? (1997)
WebCatalog f2 Installation (1997)
[math date] with non-US date format (2000)
ConverChars (1999)
Size limit for tmpl editor ? (1997)
Databases (2000)
[WebDNA] Uploading Specific File Types (2009)
Separate SSL Server (1997)
Am I going senile? (Price recalc based on quantity) (1997)
unique ascending numbers (2003)