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 Consultant telephone number: 011 63 32 486-9077 telephone number: 011 63 919 749-0060 business web site: http://webdna.net personal 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:

    
  1. Re: code to phantom spacing (Glenn Busbin 2001)
  2. Re: code to phantom spacing (Jon Robinson 2001)
  3. Re: code to phantom spacing (Jon Robinson 2001)
  4. Re: code to phantom spacing (Kenneth Grome 2001)
  5. Re: code to phantom spacing (Kenneth Grome 2001)
  6. Re: code to phantom spacing (Jon Robinson 2001)
  7. Re: code to phantom spacing (Brian Fries 2001)
  8. Re: code to phantom spacing (John Peacock 2001)
  9. Re: code to phantom spacing (Jon Robinson 2001)
  10. Re: code to phantom spacing (Jon Robinson 2001)
  11. Re: Was Re: code to phantom spacing -- now BBEdit [!][/!] (Paolo Coppo 2001)
  12. Re: Was Re: code to phantom spacing -- now BBEdit [!][/!] (John Peacock 2001)
  13. Re: Was Re: code to phantom spacing -- now BBEdit [!][/!] (dale 2001)
  14. Was Re: code to phantom spacing -- now BBEdit [!][/!] (Christopher Mackay 2001)
  15. Re: code to phantom spacing (John Peacock 2001)
  16. Re: code to phantom spacing (Samuel Renkert 2001)
  17. Re: code to phantom spacing (Kenneth Grome 2001)
  18. Re: code to phantom spacing (Jon Robinson 2001)
  19. Re: code to phantom spacing (Kenneth Grome 2001)
  20. Re: code to phantom spacing (Jon Robinson 2001)
  21. Re: code to phantom spacing (Jon Robinson 2001)
  22. Re: code to phantom spacing (Jon Robinson 2001)
  23. Re: code to phantom spacing (Kenneth Grome 2001)
  24. Re: code to phantom spacing (Glenn Busbin 2001)
  25. Re: code to phantom spacing (Jon Robinson 2001)
  26. Re: code to phantom spacing (Kenneth Grome 2001)
  27. Re: code to phantom spacing (John Peacock 2001)
  28. Re: code to phantom spacing (Kenneth Grome 2001)
  29. code to phantom spacing (Jon Robinson 2001)
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 Consultant telephone number: 011 63 32 486-9077 telephone number: 011 63 919 749-0060 business web site: http://webdna.net personal 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)