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'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.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:

    
  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)
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.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)