Re: code to phantom spacing
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 36614
interpreted = N
texte = Post your code, then we might have a clue to the problem ...>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't>think much of it till now. I have a template that has a good deal of WebDNA>code (The head tags contain about 1300 lines). It sits at about 78K, but>after parsing, it is received by the browser at between 330K and 375K (it>actually 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 block>to try to determine what was adding all that space, but soon found that each>block added a little space to the server product. It appears to be an>aggregate rather than one rotten block, and further appears to be coming>from spacing and tabbing between tags and blocks (at least in part, it could>be something else as well).>>We have converted all space bar spacing to tabs. This saved about 3K (hardly>makes a dent). Interestingly enough, the phantom data in the view>source code are all spaces (not tabs).>>I tried removing all spaces/tabs from some of the code, and it may have made>some 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 Robinson>Chakra5 studios>http://www.chakra5.net>>jon@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/=================================================Kenneth Grome WebDNA Consultanttelephone number: 011 63 32 486-9077telephone number: 011 63 919 749-0060business web site: http://webdna.netpersonal web site: http://kengrome.com=================================================-------------------------------------------------------------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:
Post your code, then we might have a clue to the problem ...>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't>think much of it till now. I have a template that has a good deal of WebDNA>code (The head tags contain about 1300 lines). It sits at about 78K, but>after parsing, it is received by the browser at between 330K and 375K (it>actually 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 block>to try to determine what was adding all that space, but soon found that each>block added a little space to the server product. It appears to be an>aggregate rather than one rotten block, and further appears to be coming>from spacing and tabbing between tags and blocks (at least in part, it could>be something else as well).>>We have converted all space bar spacing to tabs. This saved about 3K (hardly>makes a dent). Interestingly enough, the phantom data in the view>source code are all spaces (not tabs).>>I tried removing all spaces/tabs from some of the code, and it may have made>some 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 Robinson>Chakra5 studios>http://www.chakra5.net>>jon@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/=================================================Kenneth Grome WebDNA Consultanttelephone number: 011 63 32 486-9077telephone number: 011 63 919 749-0060business web site: http://webdna.netpersonal web site: http://kengrome.com=================================================-------------------------------------------------------------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/
Kenneth Grome
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:
RE: Credit card processing - UK (1997)
Intermitent problem using [referrer] (1997)
Emailer setup (1997)
Credit Card Checking?? (1998)
2 questions (2000)
Interfacing WebMerchant to www.fedex.com (1997)
RE: [WebDNA] Build Name for 6.1 (2008)
webcat2b12 CGI -- Date comparisons (1997)
Is there a way to just get to the last record in the database? (1997)
WebCat2: multiple currency support (1997)
[BULK] [WebDNA] [BULK] WebDNA AJAX example wanted! (2010)
Conditional searching & displaying (1997)
RE: 2nd WebCatalog2 Feature Request (1996)
automatically updating all records, one by one in a db (2000)
Cart problem (1999)
WC2b15 File Corruption (1997)
taxrate - off by 1 cent (1997)
[Sum] function? (1997)
Not really WebCat (1997)
Bad card db - *mislabled post* (1999)